We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d097c54 commit c9b4564Copy full SHA for c9b4564
packages/tui/internal/components/dialog/help.go
@@ -59,6 +59,8 @@ func (h *helpDialog) View() string {
59
descStyle := lipgloss.NewStyle().
60
Background(t.BackgroundElement()).
61
Foreground(t.TextMuted())
62
+ contentStyle := lipgloss.NewStyle().
63
+ PaddingLeft(1).Background(t.BackgroundElement())
64
65
lines := []string{}
66
for _, b := range h.bindings {
@@ -74,7 +76,7 @@ func (h *helpDialog) View() string {
74
76
}
75
77
78
- lines = append(lines, content)
79
+ lines = append(lines, contentStyle.Render(content))
80
81
82
return strings.Join(lines, "\n")
0 commit comments