Skip to content

Commit

Permalink
Fixed finder_textfield sync input
Browse files Browse the repository at this point in the history
  • Loading branch information
grrlopes committed Aug 9, 2023
1 parent da84ec0 commit d643be8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/home.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,10 @@ func (m ModelHome) Update(msg tea.Msg) (*ModelHome, tea.Cmd) {
}
*m.home.Pagination, cmd = m.home.Pagination.Update(msg)
cmds = append(cmds, cmd)
m.home.Finder, cmd = m.home.Finder.Update(msg)
*m.home.Count = finderCount(m.home.Finder.Value())
m.home.Start, m.home.End = m.updatepagination()
m.home.Store, _ = finderCmd(m.home.Finder.Value(), m.home.Viewport.Height-2, m.home.Start)
m.home.Finder, cmd = m.home.Finder.Update(msg)
cmds = append(cmds, cmd)
} else {
switch msg.String() {
Expand Down

0 comments on commit d643be8

Please sign in to comment.