Registry / utility / pkg-term

pkg-term

JSON →
library1.1.0gogounverified

Manages POSIX terminals, providing raw mode and terminal size queries.

go get github.com/pkg/term
INSTALL
IMPORT
SIG · PKG-TERM
P
pkg-term
utilitygov1.1.0
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.

term
github.com/pkg/term

Open a terminal and set raw mode

package main import ( "fmt" "github.com/pkg/term" ) func main() { t, _ := term.Open("/dev/tty") defer t.Close() term.RawMode(t) fmt.Println("Terminal in raw mode") }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
pkg-term — go get pkg-term · libregistry