Registry / utility / konsorten-go-windows-terminal-sequences

konsorten-go-windows-terminal-sequences

JSON →
library1.0.3gogounverified

Provides support for Windows terminal escape sequences for console output.

go get github.com/konsorten/go-windows-terminal-sequences
INSTALL
IMPORT
SIG · KONSORTEN-GO-WINDO
K
konsorten-go-windows-terminal-sequences
utilitygov1.0.3
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.

sequences
github.com/konsorten/go-windows-terminal-sequences

Enables virtual terminal processing on Windows for ANSI escape codes.

package main import ( "fmt" "github.com/konsorten/go-windows-terminal-sequences" ) func main() { sequences.EnableVirtualTerminalProcessing() fmt.Println("\033[31mRed text\033[0m") }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
3 hits · last 30 days
node
2
Amazon
1
Resources
konsorten-go-windows-terminal-sequences — go get konsorten-go-windows-terminal-sequences · libregistry