aboutsummaryrefslogtreecommitdiffstats
path: root/termui/label_select.go
diff options
context:
space:
mode:
authorYuri D'Elia <wavexx@thregr.org>2020-07-13 13:27:09 +0200
committerYuri D'Elia <wavexx@thregr.org>2020-07-13 13:30:46 +0200
commit9c3d25e776274c4a7050c2abffbebf8d74c44b6a (patch)
tree6af8c97f4a95d1f3d95573ae28533d0b698e5de0 /termui/label_select.go
parentf3304bdc1c215e733b9a2ee6a228e64f663c2b09 (diff)
downloadgit-bug-9c3d25e776274c4a7050c2abffbebf8d74c44b6a.tar.gz
Set the Fg color of the status bar to White
Always set the Fg color when Bg is set. This fixes poor contrast on terminals with non-standard foreground colors.
Diffstat (limited to 'termui/label_select.go')
-rw-r--r--termui/label_select.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/termui/label_select.go b/termui/label_select.go
index 3208371d..db0486e4 100644
--- a/termui/label_select.go
+++ b/termui/label_select.go
@@ -144,6 +144,7 @@ func (ls *labelSelect) layout(g *gocui.Gui) error {
return err
}
v.Frame = false
+ v.FgColor = gocui.ColorWhite
v.BgColor = gocui.ColorBlue
}
v.Clear()