A black cursor stands out better than white.

This commit is contained in:
Andrew Hamilton 2018-06-18 11:19:21 +10:00
parent fedc10692f
commit 64f1cd3ff8

View file

@ -98,8 +98,10 @@ class Entry(collections.UserList):
result_selected = self.widget[self.highlighted]
status_color = tools._STATUS_COLORS.get(
result_selected.status, None)
fg_color = (termstr.Color.white if result_selected.status ==
tools.Status.pending else termstr.Color.black)
return fill3.Text(termstr.TermStr("+", termstr.CharStyle(
fg_color=termstr.Color.white, bg_color=status_color)))
fg_color=fg_color, bg_color=status_color)))
def appearance_min(self):
# 'appearance' local variable exists because appearance_cache can