From dc7478d7dadf544787a9718608f11312bd2ea944 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Thu, 26 Feb 2026 22:59:16 +0200 Subject: tui: revamp status keys and add pid/tid reselection flow --- internal/tui/dashboard/tabs_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'internal/tui/dashboard/tabs_test.go') diff --git a/internal/tui/dashboard/tabs_test.go b/internal/tui/dashboard/tabs_test.go index bf96864..a457153 100644 --- a/internal/tui/dashboard/tabs_test.go +++ b/internal/tui/dashboard/tabs_test.go @@ -39,10 +39,10 @@ func TestRenderTabBarSmallWidthUsesSingleLine(t *testing.T) { } } -func TestRenderHelpBarSmallWidthUsesSingleLine(t *testing.T) { +func TestRenderHelpBarSmallWidthCanWrapToTwoLines(t *testing.T) { out := renderHelpBar(common.DefaultKeyMap(), 70) lines := strings.Split(out, "\n") - if len(lines) != 1 { - t.Fatalf("expected single-line help bar at width 70, got %d lines", len(lines)) + if len(lines) < 1 || len(lines) > 2 { + t.Fatalf("expected one or two help bar lines at width 70, got %d lines", len(lines)) } } -- cgit v1.2.3