From aa7683f5e03619ec3daeac8d98ff1ad1809872da Mon Sep 17 00:00:00 2001 From: Maas Lalani Date: Thu, 8 Sep 2022 12:36:37 -0400 Subject: [PATCH] fix: full width on gum filter --- filter/filter.go | 1 + 1 file changed, 1 insertion(+) diff --git a/filter/filter.go b/filter/filter.go index bf62e0f..67a98f9 100644 --- a/filter/filter.go +++ b/filter/filter.go @@ -108,6 +108,7 @@ func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { if m.height == 0 || m.height > msg.Height { m.viewport.Height = msg.Height - lipgloss.Height(m.textinput.View()) } + m.viewport.Width = msg.Width case tea.KeyMsg: switch msg.String() { case "ctrl+c", "esc":