documented colors
parent
7131902a74
commit
9853a4ce47
13
colors.py
13
colors.py
|
@ -1,5 +1,18 @@
|
||||||
|
'''
|
||||||
|
Simply define terminal control codes (mainly colors)
|
||||||
|
'''
|
||||||
class Colors:
|
class Colors:
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
'''
|
||||||
|
PURPLE='\033[95m'
|
||||||
|
BLUE='\033[94m'
|
||||||
|
GREEN='\033[92m'
|
||||||
|
YELLOW='\033[93m'
|
||||||
|
RED='\033[91m'
|
||||||
|
BOLD='\033[1m'
|
||||||
|
UNDERLINE='\033[4m'
|
||||||
|
RESET="\x1B[m"
|
||||||
|
'''
|
||||||
self.PURPLE='\033[95m'
|
self.PURPLE='\033[95m'
|
||||||
self.BLUE='\033[94m'
|
self.BLUE='\033[94m'
|
||||||
self.GREEN='\033[92m'
|
self.GREEN='\033[92m'
|
||||||
|
|
Loading…
Reference in New Issue