Expand description
ANSI escape sequence parser and utilities
Functionsยง
- contains_
unicode - Detect if text contains unicode characters that need special handling
- parse_
ansi_ sequence - Parse and determine the length of the ANSI escape sequence at the start of text
- strip_
ansi - Strip ANSI escape codes from text, keeping only plain text
- strip_
ansi_ ascii_ only - Fast ASCII-only ANSI stripping for performance-critical paths