We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95586f9 commit c53014eCopy full SHA for c53014e
src/internal/ui/zoxide/model.go
@@ -100,10 +100,9 @@ func (m *Model) handleConfirm() common.ModelAction {
100
}
101
102
func (m *Model) handleNormalKeyInput(msg tea.KeyMsg) tea.Cmd {
103
- m.textInput, _ = m.textInput.Update(msg)
104
-
105
- // Return async query command
106
- return m.GetQueryCmd(m.textInput.Value())
+ var cmd tea.Cmd
+ m.textInput, cmd = m.textInput.Update(msg)
+ return tea.Batch(cmd, m.GetQueryCmd(m.textInput.Value()))
107
108
109
func (m *Model) GetQueryCmd(query string) tea.Cmd {
0 commit comments