klyn.code.highlighters.SyntaxStyle.toAnsi
method
public toAnsi() as String
Description

Serializes the style to a full 24-bit ANSI SGR escape sequence.

Returns

ANSI escape sequence string.

Example
import klyn.code.highlighters

ansi = SyntaxStyle(86, 156, 214).toAnsi()
assert "38;2;86;156;214" in ansi