Made the cursor always white.
- With the dimmer status colors a white cursor always stands out. - Also made yellow a little darker to help.
This commit is contained in:
parent
f7abd189c3
commit
7d6d9d88eb
4 changed files with 6 additions and 13 deletions
|
|
@ -98,10 +98,8 @@ class Entry(collections.UserList):
|
|||
result_selected = self.widget[self.highlighted]
|
||||
status_color = tools._STATUS_COLORS.get(
|
||||
result_selected.status, None)
|
||||
fg_color = tools.STATUS_CURSOR_COLORS.get(result_selected.status,
|
||||
termstr.Color.white)
|
||||
return fill3.Text(termstr.TermStr("+", termstr.CharStyle(
|
||||
fg_color=fg_color, bg_color=status_color)))
|
||||
fg_color=termstr.Color.white, bg_color=status_color)))
|
||||
|
||||
def appearance_min(self):
|
||||
# 'appearance' local variable exists because appearance_cache can
|
||||
|
|
@ -894,7 +892,7 @@ class Screen:
|
|||
progress_bar_size):
|
||||
ordering_text = "directory" if is_directory_sort else "type "
|
||||
paused_indicator = (termstr.TermStr("paused ").fg_color(
|
||||
termstr.Color.yellow) if is_paused else termstr.TermStr("running").
|
||||
termstr.Color.dark_yellow) if is_paused else termstr.TermStr("running").
|
||||
fg_color(termstr.Color.light_blue))
|
||||
indicators = " " + paused_indicator + f" order:{ordering_text} "
|
||||
spacing = " " * (width - len(self._STATUS_BAR) - len(indicators))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue