MCPcopy
hub / github.com/cloudfoundry/cli / IsTTY

Method IsTTY

util/ui/config.go:14–14  ·  view source on GitHub ↗

IsTTY returns true when the ui has a TTY

()

Source from the content-addressed store, hash-verified

12 Locale() string
13 // IsTTY returns true when the ui has a TTY
14 IsTTY() bool
15 // TerminalWidth returns the width of the terminal
16 TerminalWidth() int
17}

Callers 3

config_test.goFile · 0.65
NewUIFunction · 0.65
NewPluginUIFunction · 0.65

Implementers 1

FakeConfigcommand/commandfakes/fake_config.go

Calls

no outgoing calls

Tested by

no test coverage detected