diff options
Diffstat (limited to 'termui/help_bar.go')
-rw-r--r-- | termui/help_bar.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/termui/help_bar.go b/termui/help_bar.go index 78f8ebca..9fc7c152 100644 --- a/termui/help_bar.go +++ b/termui/help_bar.go @@ -17,13 +17,13 @@ type helpBar []struct { func (hb helpBar) Render(maxX int) string { var builder strings.Builder for _, entry := range hb { - builder.WriteString(colors.BlueBg(fmt.Sprintf("[%s] %s", entry.keys, entry.text))) + builder.WriteString(colors.White(colors.BlueBg(fmt.Sprintf("[%s] %s", entry.keys, entry.text)))) builder.WriteByte(' ') } l := text.Len(builder.String()) if l < maxX { - builder.WriteString(colors.BlueBg(strings.Repeat(" ", maxX-l))) + builder.WriteString(colors.White(colors.BlueBg(strings.Repeat(" ", maxX-l)))) } return builder.String() |