Registry / utility / andrew-d-go-termutil

andrew-d-go-termutil

JSON →
library0.0.0-20150726205930-009166a695a2gogounverified

Terminal utility functions for Go.

go get github.com/andrew-d/go-termutil
INSTALL
IMPORT
SIG · ANDREW-D-GO-TERMUT
A
andrew-d-go-termutil
utilitygov0.0.0-20150726205930-009166a695a2
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.

termutil
github.com/andrew-d/go-termutil

Check if stdin is a terminal

package main import ( "fmt" "github.com/andrew-d/go-termutil" ) func main() { fmt.Println(termutil.IsTerminal(0)) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20150726205930-009166a695a2latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
22 hits · last 30 days
node
20
OpenAI (training)
1
Resources
andrew-d-go-termutil — go get andrew-d-go-termutil · libregistry