From 59943cbb48348fd7acb0ad2295809906868ca42e Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Mon, 17 Jun 2024 17:54:04 +0900 Subject: Fire 'result' even when input stream is not complete Related: #3866 --- src/terminal.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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) -- cgit v1.2.3