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

Method IsTerminal

cli/streams/out.go:45–47  ·  view source on GitHub ↗

IsTerminal returns whether this stream is connected to a terminal.

()

Source from the content-addressed store, hash-verified

43
44// IsTerminal returns whether this stream is connected to a terminal.
45func (o *Out) IsTerminal() bool {
46 return o.cs.isTerminal()
47}
48
49// SetRawTerminal puts the output of the terminal connected to the stream
50// into raw mode.

Callers

nothing calls this directly

Calls 1

isTerminalMethod · 0.80

Tested by

no test coverage detected