Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyPartialReverseVideo ¶ added in v0.0.112
ApplyPartialReverseVideo applies a selection background highlight to the visual column range [startCol, endCol). endCol == -1 means end-of-line. Columns are measured in visible (cell-width) units; ANSI escape sequences are transparent. Existing foreground colors are preserved.
func ApplyReverseVideo ¶ added in v0.0.112
ApplyReverseVideo applies a selection background highlight to the full line, re-asserting the background after any embedded SGR resets so that existing foreground colors are preserved.
func SuffixBytes ¶
SuffixBytes returns s[pos:] but adjusts pos forward if it would split an ANSI CSI sequence.
func SuffixString ¶
SuffixString returns s[pos:] but adjusts pos forward if it would split an ANSI CSI sequence.
Types ¶
This section is empty.