MCPcopy Index your code
hub / github.com/docker/cli / RestoreTerminal

Method RestoreTerminal

cli/streams/in.go:62–64  ·  view source on GitHub ↗

RestoreTerminal restores the terminal state if SetRawTerminal succeeded earlier.

()

Source from the content-addressed store, hash-verified

60
61// RestoreTerminal restores the terminal state if SetRawTerminal succeeded earlier.
62func (i *In) RestoreTerminal() {
63 i.cs.restoreTerminal()
64}
65
66// CheckTty reports an error when stdin is requested for a TTY-enabled
67// container, but the client stdin is not itself a terminal (for example,

Callers 4

restoreTerminalFunction · 0.45
restoreTerminalMethod · 0.45
DisableInputEchoFunction · 0.45
restoreTerminalFunction · 0.45

Calls 1

restoreTerminalMethod · 0.80

Tested by

no test coverage detected