Skip to main content

Module sanitize

Module sanitize 

Source
Expand description

Sanitizing of externally sourced text before it reaches the terminal.

Functions§

strip_ansi
Strip ANSI escape sequences and non-whitespace control characters from text that originates outside the TUI (tool results, model output, subscription events, subprocess output, …).