ANSI control codes for various useful stuff.
Reference source: wikipedia
-
class b[source]
Background color attributes
-
BLACK = '\x1b[40m'
-
BLUE = '\x1b[44m'
-
CYAN = '\x1b[46m'
-
GREEN = '\x1b[42m'
-
MAGENTA = '\x1b[45m'
-
RED = '\x1b[41m'
-
RESET = '\x1b[49m'
-
WHITE = '\x1b[47m'
-
YELLOW = '\x1b[44m'
-
class ansi_on.f[source]
Foreground color attributes
-
BLACK = '\x1b[30m'
-
BLUE = '\x1b[34m'
-
CYAN = '\x1b[36m'
-
GREEN = '\x1b[32m'
-
MAGENTA = '\x1b[35m'
-
RED = '\x1b[31m'
-
RESET = '\x1b[39m'
-
WHITE = '\x1b[37m'
-
YELLOW = '\x1b[33m'
-
class ansi_on.s[source]
Style attributes
-
BRIGHT = '\x1b[1m'
-
DIM = '\x1b[2m'
-
NORMAL = '\x1b[22m'
-
RESET_ALL = '\x1b[0m'