MCPcopy
hub / github.com/mislav/hub / IsTerminal

Function IsTerminal

ui/ui.go:71–73  ·  view source on GitHub ↗
(f *os.File)

Source from the content-addressed store, hash-verified

69}
70
71func IsTerminal(f *os.File) bool {
72 return isatty.IsTerminal(f.Fd())
73}
74
75type Console struct {
76 Stdout io.Writer

Callers 5

colorizeOutputFunction · 0.92
verboseLogFunction · 0.92
newHttpClientFunction · 0.92
reportCrashFunction · 0.92
PromptForPasswordMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…