Rapicorn - Experimental UI Toolkit - Source Code
13.07.0
|
The AnsiColors namespace contains utility functions for colored terminal output. More...
Enumerations | |
enum | Colors { NONE, RESET, BOLD, BOLD_OFF, ITALICS, ITALICS_OFF, UNDERLINE, UNDERLINE_OFF, INVERSE, INVERSE_OFF, STRIKETHROUGH, STRIKETHROUGH_OFF, FG_BLACK, FG_RED, FG_GREEN, FG_YELLOW, FG_BLUE, FG_MAGENTA, FG_CYAN, FG_WHITE, FG_DEFAULT, BG_BLACK, BG_RED, BG_GREEN, BG_YELLOW, BG_BLUE, BG_MAGENTA, BG_CYAN, BG_WHITE, BG_DEFAULT } |
ANSI color symbols. More... | |
Functions | |
const char * | color_code (Colors acolor) |
Return ASCII code for the specified color. | |
void | color_envkey (const String &env_var, const String &key) |
Configure the environment variable that always/never/automatically allows colorization. | |
bool | colorize_tty (int fd) |
Check whether the tty fd should use colorization. | |
const char * | color (Colors acolor) |
Return ASCII code for the specified color if stdout & stderr should be colorized. |
The AnsiColors namespace contains utility functions for colored terminal output.