Documentation ¶
Index ¶
Constants ¶
View Source
const Marker = '\x1B'
Variables ¶
This section is empty.
Functions ¶
func IsTerminator ¶
func PrintableRuneWidth ¶
PrintableRuneWidth returns the cell width of the given string.
Types ¶
type Buffer ¶
Buffer is a buffer aware of ANSI escape sequences.
func (Buffer) PrintableRuneWidth ¶
PrintableRuneWidth returns the cell width of all printable runes in the buffer.
type Writer ¶
func (*Writer) LastSequence ¶
func (*Writer) RestoreAnsi ¶
func (w *Writer) RestoreAnsi()
Click to show internal directories.
Click to hide internal directories.