Onionr/onionr/colors.py

24 lines
559 B
Python
Raw Normal View History

2018-01-15 01:51:47 +00:00
'''
Simply define terminal control codes (mainly colors)
'''
2017-12-28 19:20:39 +00:00
class Colors:
def __init__(self):
2018-01-15 01:51:47 +00:00
'''
PURPLE='\033[95m'
BLUE='\033[94m'
GREEN='\033[92m'
YELLOW='\033[93m'
RED='\033[91m'
BOLD='\033[1m'
UNDERLINE='\033[4m'
RESET="\x1B[m"
'''
2017-12-28 19:20:39 +00:00
self.PURPLE='\033[95m'
self.BLUE='\033[94m'
self.GREEN='\033[92m'
self.YELLOW='\033[93m'
self.RED='\033[91m'
self.BOLD='\033[1m'
self.UNDERLINE='\033[4m'
self.RESET="\x1B[m"