Documentation ¶
Index ¶
Constants ¶
View Source
const ( Default = iota Escaping ParsingControl InControl SkipOne )
States
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnsiParser ¶
type AnsiParser struct { Rune func(r rune) Escape func(e EscapeSequence) }
func (*AnsiParser) ConvertFromUTF8 ¶
func (a *AnsiParser) ConvertFromUTF8(input []byte) error
type EscapeSequence ¶
type EscapeSequence struct { IsCSI bool PrivateModes []rune // not supported, will not be parsed Nums []int Trailings []rune Mode rune }
func (*EscapeSequence) ParseNumbers ¶
func (e *EscapeSequence) ParseNumbers(buf []rune)
func (*EscapeSequence) Reset ¶
func (e *EscapeSequence) Reset()
Click to show internal directories.
Click to hide internal directories.