Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
147
func
isInteractiveSession() bool {
148
return
term.IsTerminal(int(os.Stdin.Fd())) && term.IsTerminal(int(os.Stdout.Fd()))
149
}
150
151
func
waitForEnablement() error {
152
fmt.Println()
Callers
1
HandleAPIEnablement
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected