Registry / utility / x-isatty

x-isatty

JSON →
library1.1.1gogounverified

Determines whether a stream is a terminal (tty), with support for multiple platforms and environment variable override.

go get gopkg.ilharper.com/x/isatty
INSTALL
IMPORT
SIG · X-ISATTY
X
x-isatty
utilitygov1.1.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

isatty
gopkg.ilharper.com/x/isatty

Checks if stdout is a terminal.

package main import ( "fmt" "os" "gopkg.ilharper.com/x/isatty" ) func main() { fmt.Println(isatty.IsTerminal(os.Stdout.Fd())) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.1.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
x-isatty — go get x-isatty · libregistry