Public Member Functions | |
__construct () | |
color ($color) | |
Return ANSI terminal escape code for changing text attribs/color. | |
reset () | |
Return ANSI terminal escape code for restoring default text attributes. |
Definition at line 1121 of file parserTests.inc.
AnsiTermColorer::__construct | ( | ) |
Definition at line 1122 of file parserTests.inc.
AnsiTermColorer::color | ( | $ | color | ) |
Return ANSI terminal escape code for changing text attribs/color.
string | $color Semicolon-separated list of attribute/color codes |
Definition at line 1131 of file parserTests.inc.
References $wgCommandLineDarkBg.
Referenced by reset().
AnsiTermColorer::reset | ( | ) |
Return ANSI terminal escape code for restoring default text attributes.
Definition at line 1142 of file parserTests.inc.
References color().