foreground method
Sets the text colour.
Works with any AsciiInk: a palette AsciiColour or a true-colour AsciiColourRgb. Uses AsciiInk.fg.
Implementation
String foreground(AsciiInk colour) => _wrap(colour.fg);
Sets the text colour.
Works with any AsciiInk: a palette AsciiColour or a true-colour AsciiColourRgb. Uses AsciiInk.fg.
String foreground(AsciiInk colour) => _wrap(colour.fg);