From 5fce20960f7490493aa75542734222f7f215625a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 18 Mar 2026 10:40:36 +0000 Subject: [PATCH 1/2] Initial plan From 9de70c7f99fe95c2d317082d521a938b4c2f7e33 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 18 Mar 2026 10:46:25 +0000 Subject: [PATCH 2/2] fix: update list height on terminal resize in pkg/console/list.go Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- pkg/console/list.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/console/list.go b/pkg/console/list.go index 1a514bcc1c3..c97f0e09347 100644 --- a/pkg/console/list.go +++ b/pkg/console/list.go @@ -19,6 +19,9 @@ import ( var listLog = logger.New("console:list") +// listHeightPadding is the number of rows reserved for the list title, borders, and status bar +const listHeightPadding = 4 + // listModel is the Bubble Tea model for the interactive list type listModel struct { list list.Model @@ -47,6 +50,7 @@ func (m listModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) { } case tea.WindowSizeMsg: m.list.SetWidth(msg.Width) + m.list.SetHeight(msg.Height - listHeightPadding) return m, nil }