ansi

package
v0.7.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 27, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Strip

func Strip(b []byte) []byte

Strip removes ANSI/VT escape sequences and control characters from b, returning printable text suitable for indexing or plain display. Carriage-return overwrites are resolved per line (last write wins is approximated by dropping the overwritten prefix), so progress bars don't bloat the result.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL