Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/devspace-sh/devspace
/ setWinSize
Function
setWinSize
helper/ssh/pty_supported.go:18–21 ·
view source on GitHub ↗
(f *os.File, w, h int)
Source
from the content-addressed store, hash-verified
16
}
17
18
func
setWinSize(f *os.File, w, h int) {
19
_, _, _ = syscall.Syscall(syscall.SYS_IOCTL, f.Fd(), uintptr(syscall.TIOCSWINSZ),
20
uintptr(unsafe.Pointer(&
struct
{ h, w, x, y uint16 }{uint16(h), uint16(w), 0, 0})))
21
}
Callers
1
HandlePTY
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected