BufferAnsiSerialization extension

Extensions for serializing Buffer to and from ANSI sequence strings.

on

Methods

toAnsiString() String

Available on Buffer, provided by the BufferAnsiSerialization extension

Serializes this Buffer grid into an ANSI escape sequence string.

Static Methods

fromAnsi(String ansiText) Buffer

Available on Buffer, provided by the BufferAnsiSerialization extension

Parses an ANSI sequence string (supporting 24-bit SGR color codes) into a Buffer.