fgColor property

Color get fgColor

fg as a Color: Color.defaultColor for the terminal's own.

final vt = Vt(4, 1)..feed(utf8.encode('\x1b[31mA'));
assert(vt.cell(0, 0).fgColor == Color.red);

Implementation

Color get fgColor => colorOf(fg);