Disable bg colors when using --disable-bold option

...otherwise the text with bg is unreadable.
This commit is contained in:
Alessio Sergi 2015-12-10 17:37:37 +01:00
parent 969f82c79e
commit 3daf08c80f

View File

@ -131,6 +131,7 @@ class _GlancesCurses(object):
# Init colors
if self.args.disable_bold:
A_BOLD = 0
self.args.disable_bg = True
else:
A_BOLD = curses.A_BOLD