Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Len ¶
Len returns the number of terminal cells needed to display the string. This accounts for double-width characters (CJK), zero-width characters, and other Unicode properties that affect terminal display width.
func SanitizeOSC ¶ added in v1.0.2
SanitizeOSC removes ANSI escape characters and string terminators from a string intended for embedding in an OSC escape sequence.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.