Skip to content

Commit

Permalink
encoding color codes to utf8 (now color should be displayed on window…
Browse files Browse the repository at this point in the history
…s systems too)
  • Loading branch information
r3nt0n committed Nov 17, 2020
1 parent 3e62325 commit 34fb3fd
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions modules/color.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@
from random import choice

class color:
PURPLE = '\033[95m'
CYAN = '\033[96m'
DARKCYAN = '\033[36m'
BLUE = '\033[94m'
GREEN = '\033[92m'
YELLOW = '\033[93m'
RED = '\033[91m'
BOLD = '\033[1m'
UNDERLINE = '\033[4m'
ORANGE = '\033[33m'
GREY = '\033[90m'
PURPLE = u'\033[95m'
CYAN = u'\033[96m'
DARKCYAN = u'\033[36m'
BLUE = u'\033[94m'
GREEN = u'\033[92m'
YELLOW = u'\033[93m'
RED = u'\033[91m'
BOLD = u'\033[1m'
UNDERLINE = u'\033[4m'
ORANGE = u'\033[33m'
GREY = u'\033[90m'
#ORANGEBG = '\033[48;2;255;165;0m'
END = '\033[0m'
END = u'\033[0m'

RAND_KEY_COLOR = [PURPLE, CYAN, DARKCYAN, YELLOW, ORANGE]
KEY_HIGHL = choice(RAND_KEY_COLOR)
KEY_HIGHL = choice(RAND_KEY_COLOR)

0 comments on commit 34fb3fd

Please sign in to comment.