aboutsummaryrefslogtreecommitdiffstats
path: root/termui/bug_table.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/bug_table.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/bug_table.go')
-rw-r--r--termui/bug_table.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/termui/bug_table.go b/termui/bug_table.go
index e57a2b15..e2c1049f 100644
--- a/termui/bug_table.go
+++ b/termui/bug_table.go
@@ -116,6 +116,7 @@ func (bt *bugTable) layout(g *gocui.Gui) error {
}
v.Frame = false
+ v.FgColor = gocui.ColorWhite
v.BgColor = gocui.ColorBlue
_, _ = fmt.Fprintf(v, "[q] Quit [s] Search [←↓↑→,hjkl] Navigation [↵] Open bug [n] New bug [i] Pull [o] Push")