MCPcopy Create free account
hub / github.com/AndroidPoet/playconsole-cli / isInteractiveSession

Function isInteractiveSession

internal/api/enablement.go:147–149  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

145}
146
147func isInteractiveSession() bool {
148 return term.IsTerminal(int(os.Stdin.Fd())) && term.IsTerminal(int(os.Stdout.Fd()))
149}
150
151func waitForEnablement() error {
152 fmt.Println()

Callers 1

HandleAPIEnablementFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected