Registry / utility / jaguilar-vt100

jaguilar-vt100

JSON →
library0.0.0-20201024211400-81de19cb81a4gogounverified

Package vt100 implements a quick-and-dirty programmable ANSI terminal emulator for Go.

go get github.com/jaguilar/vt100
INSTALL
IMPORT
SIG · JAGUILAR-VT100
J
jaguilar-vt100
utilitygov0.0.0-20201024211400-81de19cb81a4
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.

vt100
github.com/jaguilar/vt100

Creates a VT100 terminal emulator and writes ANSI escape codes.

package main import ( "fmt" "github.com/jaguilar/vt100" ) func main() { vt := vt100.NewVT100() vt.Write([]byte("\x1b[31mRed text\x1b[0m")) fmt.Println(vt.String()) }
Debug
Known issues
gotchaThis package is experimental and may have bugs; only raw mode is supported.
fix
Use a more mature terminal emulator like github.com/nsf/termbox-go for production.
affects: all
Upgrade
Version history
0.0.0-20201024211400-81de19cb81a4latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
jaguilar-vt100 — go get jaguilar-vt100 · libregistry