diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2020-04-23 03:22:15 +0200 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2020-04-23 03:22:15 +0200 |
commit | 830b9748e91ab44e0c2205db5c4a9321fb130668 (patch) | |
tree | 63d99d994eee83186cdebb18eaff3c51dc66392d /psutil/_common.py | |
parent | 3b0f1ec78df673c101647b50b3211b8da3cd1b80 (diff) | |
download | psutil-memleaks-refact.tar.gz |
add verbose optmemleaks-refact
Diffstat (limited to 'psutil/_common.py')
-rw-r--r-- | psutil/_common.py | 4 |
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] |