Documentation ¶
Index ¶
Constants ¶
View Source
const Marker = '\x1B'
Variables ¶
This section is empty.
Functions ¶
func IsTerminator ¶ added in v0.3.0
func PrintableRuneWidth ¶ added in v0.2.0
PrintableRuneWidth returns the cell width of the given string.
Types ¶
type Buffer ¶
Buffer is a buffer aware of ANSI escape sequences.
func (Buffer) PrintableRuneWidth ¶ added in v0.2.0
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.