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

Function MakeInputRaw

pty/terminal.go:13–15  ·  view source on GitHub ↗

MakeInputRaw calls term.MakeRaw on non-Windows platforms. On Windows it sets special terminal modes that enable VT100 emulation as well as setting the same modes that term.MakeRaw sets. nolint:revive

(fd uintptr)

Source from the content-addressed store, hash-verified

11//
12//nolint:revive
13func MakeInputRaw(fd uintptr) (*TerminalState, error) {
14 return makeInputRaw(fd)
15}
16
17// MakeOutputRaw does nothing on non-Windows platforms. On Windows it sets
18// special terminal modes that enable VT100 emulation as well as setting the

Callers 3

handleRPTYFunction · 0.92
sshMethod · 0.92
readSecretInputFunction · 0.92

Calls 1

makeInputRawFunction · 0.70

Tested by

no test coverage detected