1 | """ansi.py.""" |
2 | from __future__ import print_function |
3 | |
4 | RESET = '\x1b[0;0m' |
5 | BOLD = '\x1b[1m' |
6 | UNDERLINE = '\x1b[4m' |
7 | REVERSE = '\x1b[7m' # reverse video |
8 | |
9 | RED = '\x1b[31m' |
10 | GREEN = '\x1b[32m' |
11 | YELLOW = '\x1b[33m' |
12 | BLUE = '\x1b[34m' |
13 | MAGENTA = '\x1b[35m' |
14 | CYAN = '\x1b[36m' |
15 | WHITE = '\x1b[37m' |