tui: fix help dialog background (#110)
publish / publish (push) Has been cancelled

This commit is contained in:
Rohan Godha
2025-06-14 16:57:15 -06:00
committed by GitHub
parent 1ef5a6b321
commit c4f03b1039
@@ -59,6 +59,8 @@ func (h *helpDialog) View() string {
descStyle := lipgloss.NewStyle().
Background(t.BackgroundElement()).
Foreground(t.TextMuted())
contentStyle := lipgloss.NewStyle().
PaddingLeft(1).Background(t.BackgroundElement())
lines := []string{}
for _, b := range h.bindings {
@@ -74,7 +76,7 @@ func (h *helpDialog) View() string {
}
}
lines = append(lines, content)
lines = append(lines, contentStyle.Render(content))
}
return strings.Join(lines, "\n")