Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/go-task/task
/ IsTerminal
Function
IsTerminal
internal/term/term.go:9–11 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
7
)
8
9
func
IsTerminal() bool {
10
return
term.IsTerminal(int(os.Stdin.Fd())) && term.IsTerminal(int(os.Stdout.Fd()))
//nolint:gosec
11
}
Callers
2
canPrompt
Method · 0.92
Prompt
Method · 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…