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

Function RestoreTerminal

pty/terminal.go:29–31  ·  view source on GitHub ↗

RestoreTerminal restores the terminal back to its original state. nolint:revive

(fd uintptr, state *TerminalState)

Source from the content-addressed store, hash-verified

27//
28//nolint:revive
29func RestoreTerminal(fd uintptr, state *TerminalState) error {
30 return restoreTerminal(fd, state)
31}

Callers 3

handleRPTYFunction · 0.92
sshMethod · 0.92
readSecretInputFunction · 0.92

Calls 1

restoreTerminalFunction · 0.70

Tested by

no test coverage detected