MCPcopy Index your code
hub / github.com/coder/coder / Resize

Method Resize

pty/pty.go:40–40  ·  view source on GitHub ↗

Resize sets the size of the PTY.

(height uint16, width uint16)

Source from the content-addressed store, hash-verified

38
39 // Resize sets the size of the PTY.
40 Resize(height uint16, width uint16) error
41
42 // Name of the TTY. Example on Linux would be "/dev/pts/1".
43 Name() string

Callers 5

TestServerFunction · 0.65
TestStartFunction · 0.65
AttachMethod · 0.65
readConnLoopFunction · 0.65
startPTYSessionMethod · 0.65

Implementers 3

otherPtypty/pty_other.go
ptyWindowspty/pty_windows.go
testPTYpty/ptytest/ptytest_windows.go

Calls

no outgoing calls

Tested by 2

TestServerFunction · 0.52
TestStartFunction · 0.52