Make the status detail key commands more visible

Some terminal color schemes completely eliminate the difference
between cyan and cyan-bold colors (all the base16 themes, for instance).
This change makes the key letters stand out clearly in bold white.
This commit is contained in:
Dan Schwarz 2022-12-31 19:59:18 -05:00 committed by Ivan Habunek
parent 4ef866dcbe
commit 6633b758bc
2 changed files with 2 additions and 1 deletions

View File

@ -36,6 +36,7 @@ PALETTE = [
('yellow_bold', 'yellow,bold', ''),
('red', 'dark red', ''),
('warning', 'light red', ''),
('white_bold', 'white,bold', '')
]
VISIBILITY_OPTIONS = [

View File

@ -352,7 +352,7 @@ class StatusDetails(urwid.Pile):
]
options = " ".join(o for o in options if o)
options = highlight_keys(options, "cyan_bold", "cyan")
options = highlight_keys(options, "white_bold", "cyan")
yield ("pack", urwid.Text(options))
def build_linebox(self, contents):