m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-14 22:33:47 -05:00

Fire 'result' even when input stream is not complete

Related: #3866
This commit is contained in:
Junegunn Choi
2024-06-17 17:54:04 +09:00
parent 02634d404d
commit 59943cbb48
2 changed files with 4 additions and 3 deletions

View File

@@ -1253,9 +1253,9 @@ func (t *Terminal) UpdateList(merger *Merger) {
t.eventChan <- one
}
}
if t.hasResultActions {
t.eventChan <- tui.Result.AsEvent()
}
}
if t.hasResultActions {
t.eventChan <- tui.Result.AsEvent()
}
t.mutex.Unlock()
t.reqBox.Set(reqInfo, nil)