Skip to content
Myr

fix(filter): text input width is too small (#919)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

close #913

authored by Carlos Alexandro Becker · committed by GitHub · parent 8081f74 · Browse files · 1 file+1 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−0 removed

  • other:+1 added−0 removed

1 file+1 added−0 removed

modified:filter/filter.go+1 added
278 unmodified lines
279 if m.showHelp {280 m.viewport.Height = m.viewport.Height - lipgloss.Height(m.helpView())281 }282 m.viewport.Width = msg.Width283 m.textinput.Width = msg.Width284 if m.reverse {285 m.viewport.YOffset = clamp(0, len(m.matches), len(m.matches)-m.viewport.Height)286 }287 case tea.KeyMsg:
267 unmodified lines