util.colour

Undocumented in source.

Members

Enums

BackgroundColour
enum BackgroundColour

Basic background colors

ForegroundColour
enum ForegroundColour

/Basic foregroudn colours

TextAttribute
enum TextAttribute

Codes for ANSI Text Attributes

Functions

attributeString
string attributeString(string input, TextAttribute ta)

Who cares about efficiency, write string with attribute applied

colourString
string colourString(string input, ForegroundColour fg, BackgroundColour bg)
Undocumented in source. Be warned that the author may not have intended to support it.
toggleColour
void toggleColour()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

colouredOutput
bool colouredOutput;
Undocumented in source.

Meta