MCPcopy Create free account
hub / github.com/docker/cli / RestoreTerminal

Method RestoreTerminal

cli/streams/out.go:60–62  ·  view source on GitHub ↗

RestoreTerminal restores the terminal state if SetRawTerminal succeeded earlier.

()

Source from the content-addressed store, hash-verified

58
59// RestoreTerminal restores the terminal state if SetRawTerminal succeeded earlier.
60func (o *Out) RestoreTerminal() {
61 o.cs.restoreTerminal()
62}
63
64// GetTtySize returns the height and width in characters of the TTY, or
65// zero for both if no TTY is connected.

Callers

nothing calls this directly

Calls 1

restoreTerminalMethod · 0.80

Tested by

no test coverage detected