aboutsummaryrefslogtreecommitdiffstats
path: root/termui/show_bug.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/show_bug.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/show_bug.go')
-rw-r--r--termui/show_bug.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/termui/show_bug.go b/termui/show_bug.go
index 83d40ffa..23b82c73 100644
--- a/termui/show_bug.go
+++ b/termui/show_bug.go
@@ -92,6 +92,7 @@ func (sb *showBug) layout(g *gocui.Gui) error {
sb.childViews = append(sb.childViews, showBugInstructionView)
v.Frame = false
+ v.FgColor = gocui.ColorWhite
v.BgColor = gocui.ColorBlue
}