Disable bg colors when using --disable-bold option

...otherwise the text with bg is unreadable.
pull/755/head
Alessio Sergi 2015-12-10 17:37:37 +01:00
parent 969f82c79e
commit 3daf08c80f
1 changed files with 1 additions and 0 deletions

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