Update pkg/tui/views/dashboard/help_bar.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Robin Olsen
2026-02-10 20:22:23 +01:00
committed by GitHub
parent d0ab541ec4
commit 14c4509942

View File

@@ -79,10 +79,10 @@ func (h HelpBar) fullHelp() string {
} }
func (h HelpBar) Height() int { func (h HelpBar) Height() int {
if h.showAll { if h.width == 0 {
return 3 return 0
} }
return 1 return lipgloss.Height(h.View())
} }
func (h HelpBar) IsExpanded() bool { func (h HelpBar) IsExpanded() bool {