summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2024-06-17 17:54:04 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2024-06-17 17:54:52 +0900
commit59943cbb48348fd7acb0ad2295809906868ca42e (patch)
tree9aa3681ec9b3cbacc732604f9059959ef3bc92ae /src
parent02634d404ded8ecb03468e2ad92b59691bf733f6 (diff)
downloadfzf-59943cbb48348fd7acb0ad2295809906868ca42e.tar.gz
Fire 'result' even when input stream is not complete
Related: #3866
Diffstat (limited to 'src')
-rw-r--r--src/terminal.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/terminal.go b/src/terminal.go
index c519c927..20faeb21 100644
--- a/src/terminal.go
+++ b/src/terminal.go
@@ -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)