OILS / core / ansi.py View on Github | oilshell.org

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