Registry / utility / lunixbochs-vtclean

lunixbochs-vtclean

JSON →
library1.0.0gogounverified

A Go library for cleaning ANSI escape sequences from terminal output.

go get github.com/lunixbochs/vtclean
INSTALL
IMPORT
SIG · LUNIXBOCHS-VTCLEAN
L
lunixbochs-vtclean
utilitygov1.0.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.

vtclean
github.com/lunixbochs/vtclean

Strip ANSI escape codes from a string.

package main import ( "fmt" "github.com/lunixbochs/vtclean" ) func main() { clean := vtclean.Clean("\x1b[31mred\x1b[0m", false) fmt.Println(clean) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
lunixbochs-vtclean — go get lunixbochs-vtclean · libregistry