delphyne
|
Functions | |
def | console_has_colours () |
Methods. More... | |
Variables | |
def | HAS_COLOURS = console_has_colours() |
string | RESET = "\x1b[0m" |
string | BOLD = "\x1b[%sm" % '1' |
BLACK | |
RED | |
GREEN | |
YELLOW | |
BLUE | |
MAGENTA | |
CYAN | |
WHITE | |
list | COLOURS |
def delphyne.console.console_has_colours | ( | ) |
Methods.
Detects if the console (stdout) has colourising capability.
BLACK |
BLUE |
string BOLD = "\x1b[%sm" % '1' |
list COLOURS |
CYAN |
GREEN |
def HAS_COLOURS = console_has_colours() |
MAGENTA |
RED |
string RESET = "\x1b[0m" |
WHITE |
YELLOW |