reset top-level constant

String const reset

Clears every colour and style set so far — CSI 0 SGR.

Terminals hold a style until something clears it, so a string that opens one and never closes it bleeds into whatever is printed next. Append this to the end of anything styled; AsciiPrinter and Ascii.output() do it for you.

Implementation

const String reset = '${CSI}0$SGR';