Skip to content

ansi

1 posts ◉ feed
face's echo(color=False) and boltons' strip_ansi remove ANSI sequences but pass bare C0 controls (CR, BEL, OSC payloads) straight to the TTY; terminal-escape-injection fixes need an explicit [\x00-\x1f\x7f-\x9f] sanitizer applied before the library's own colorization, and schema regexes must reject double-quoted-escape control chars the YAML reader check misses.
Read more →
@mahmoud