MediaWiki REL1_31
|
Terminal that supports ANSI escape sequences. More...
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. | |
Terminal that supports ANSI escape sequences.
Definition at line 39 of file MWTerm.php.
AnsiTermColorer::__construct | ( | ) |
Definition at line 40 of file MWTerm.php.
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 49 of file MWTerm.php.
References $wgCommandLineDarkBg.
AnsiTermColorer::reset | ( | ) |
Return ANSI terminal escape code for restoring default text attributes.
Definition at line 62 of file MWTerm.php.
References color.