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

Method Input

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

Input handles TTY input. cmd.SetInput(pty.Input()) would be used to specify a command uses the PTY input for reading. The same stream would be used to provide user input: pty.Input().Write(...)

()

Source from the content-addressed store, hash-verified

57 //
58 // The same stream would be used to provide user input: pty.Input().Write(...)
59 Input() ReadWriter
60}
61
62// Process represents a process running in a PTY. We need to trigger special processing on the PTY

Callers 15

AttachMethod · 0.95
WriteMethod · 0.95
WriteLineMethod · 0.95
logNotAuthorizedErrorFunction · 0.65
TestPortForwardFunction · 0.65
TestTemplatePushFunction · 0.65
TestUseKeyringFunction · 0.65
TestConfigSSHFunction · 0.65
TestTemplateListFunction · 0.65
TestExpMcpServerFunction · 0.65

Implementers 3

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

Calls

no outgoing calls

Tested by 15

TestPortForwardFunction · 0.52
TestTemplatePushFunction · 0.52
TestUseKeyringFunction · 0.52
TestConfigSSHFunction · 0.52
TestTemplateListFunction · 0.52
TestExpMcpServerFunction · 0.52
TestExpMcpReporterFunction · 0.52
TestLogoutFunction · 0.52
loginFunction · 0.52