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

Function setRawTerminal

cli/command/container/hijack.go:204–209  ·  view source on GitHub ↗
(streams command.Streams)

Source from the content-addressed store, hash-verified

202}
203
204func setRawTerminal(streams command.Streams) error {
205 if err := streams.In().SetRawTerminal(); err != nil {
206 return err
207 }
208 return streams.Out().SetRawTerminal()
209}
210
211func restoreTerminal(streams command.Streams, in io.Closer) error {
212 streams.In().RestoreTerminal()

Callers 1

setupInputMethod · 0.85

Calls 3

InMethod · 0.65
OutMethod · 0.65
SetRawTerminalMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…