From 14c4509942671f93da6601fec5f803faf648cab6 Mon Sep 17 00:00:00 2001 From: Robin Olsen <129996395+Telikz@users.noreply.github.com> Date: Tue, 10 Feb 2026 20:22:23 +0100 Subject: [PATCH] Update pkg/tui/views/dashboard/help_bar.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- pkg/tui/views/dashboard/help_bar.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/tui/views/dashboard/help_bar.go b/pkg/tui/views/dashboard/help_bar.go index 6593d8c..c030ab1 100644 --- a/pkg/tui/views/dashboard/help_bar.go +++ b/pkg/tui/views/dashboard/help_bar.go @@ -79,10 +79,10 @@ func (h HelpBar) fullHelp() string { } func (h HelpBar) Height() int { - if h.showAll { - return 3 + if h.width == 0 { + return 0 } - return 1 + return lipgloss.Height(h.View()) } func (h HelpBar) IsExpanded() bool {