Registry / utility / google-goterm

google-goterm

JSON →
library0.0.0-20200907032337-555d40f16ae2gogounverified

Provides terminal utilities for Go, including ANSI escape code handling and terminal size detection.

go get github.com/google/goterm
INSTALL
IMPORT
SIG · GOOGLE-GOTERM
G
google-goterm
utilitygov0.0.0-20200907032337-555d40f16ae2
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.

goterm
github.com/google/goterm

Gets the terminal size using goterm.

package main import ( "fmt" "github.com/google/goterm/term" ) func main() { width, height, _ := term.GetSize(0) fmt.Printf("Terminal size: %dx%d\n", width, height) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20200907032337-555d40f16ae2latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
google-goterm — go get google-goterm · libregistry