Documentation
¶
Overview ¶
Package terminal contains the final containment boundary for text written to an interactive terminal. It deliberately does not mutate data retained for structured output.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Sanitize ¶
Sanitize removes terminal escape sequences, controls, bidirectional controls, and invisible spoofing characters. Newlines and tabs remain available to multi-line human and Markdown renderers.
func SanitizeLine ¶
SanitizeLine contains text for a single-line terminal location.
func UnsafeRune ¶
UnsafeRune reports code points that must not be emitted raw to a terminal. Structured serializers may escape these runes instead of removing them.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.