commit
23ecb9709c
1 changed files with 4 additions and 1 deletions
|
@ -41,7 +41,10 @@ try:
|
||||||
RESET_SEQ = colorama.Fore.RESET + colorama.Style.RESET_ALL
|
RESET_SEQ = colorama.Fore.RESET + colorama.Style.RESET_ALL
|
||||||
COLOR_SEQ = lambda x: x
|
COLOR_SEQ = lambda x: x
|
||||||
BOLD_SEQ = ''
|
BOLD_SEQ = ''
|
||||||
|
if sys.platform == 'win32':
|
||||||
BLACK = colorama.Fore.BLACK + colorama.Style.DIM
|
BLACK = colorama.Fore.BLACK + colorama.Style.DIM
|
||||||
|
else:
|
||||||
|
BLACK = colorama.Fore.BLACK + colorama.Style.BRIGHT
|
||||||
RED = colorama.Fore.RED
|
RED = colorama.Fore.RED
|
||||||
BLUE = colorama.Fore.CYAN
|
BLUE = colorama.Fore.CYAN
|
||||||
USE_COLOR = 'NO_COLOR' not in environ
|
USE_COLOR = 'NO_COLOR' not in environ
|
||||||
|
|
Loading…
Reference in a new issue