Skip to content

Commit 0107dff

Browse files
authored
fix(filter): text input width is too small (#919)
close #913
1 parent 8081f74 commit 0107dff

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

filter/filter.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,7 @@ func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
280280
m.viewport.Height = m.viewport.Height - lipgloss.Height(m.helpView())
281281
}
282282
m.viewport.Width = msg.Width
283+
m.textinput.Width = msg.Width
283284
if m.reverse {
284285
m.viewport.YOffset = clamp(0, len(m.matches), len(m.matches)-m.viewport.Height)
285286
}

0 commit comments

Comments
 (0)