package
Version:
v0.31.0
Opens a new window with list of versions in this module.
Published: Aug 22, 2026
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
AllowSGR removes terminal control sequences except CSI SGR color sequences.
Use it after a renderer such as Glamour which intentionally emits styling.
Strip removes terminal control sequences and keeps printable text, newlines
and tabs. Use it for untrusted plain text rendered in a terminal.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.