summaryrefslogtreecommitdiff
path: root/psutil/_common.py
diff options
context:
space:
mode:
Diffstat (limited to 'psutil/_common.py')
-rw-r--r--psutil/_common.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/psutil/_common.py b/psutil/_common.py
index 2c327051..ac0f5537 100644
--- a/psutil/_common.py
+++ b/psutil/_common.py
@@ -785,7 +785,7 @@ def hilite(s, color="green", bold=False):
if not term_supports_colors():
return s
attr = []
- colors = dict(green='32', red='91', brown='33')
+ colors = dict(green='32', red='91', brown='33', yellow='93')
colors[None] = '29'
try:
color = colors[color]
@@ -812,7 +812,7 @@ def print_color(s, color="green", bold=False, file=sys.stdout, end='\n'):
SetConsoleTextAttribute = \
ctypes.windll.Kernel32.SetConsoleTextAttribute
- colors = dict(green=2, red=4, brown=6)
+ colors = dict(green=2, red=4, brown=6, yellow=6)
colors[None] = DEFAULT_COLOR
try:
color = colors[color]