m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-18 08:13:40 -05:00

Fix 'reload' not terminating closed standard input stream

Fix #3750
This commit is contained in:
Junegunn Choi
2024-04-25 16:42:13 +09:00
parent 4ab7fdc28e
commit fddbfe7b0e
2 changed files with 6 additions and 1 deletions

View File

@@ -147,7 +147,7 @@ func (r *Reader) feed(src io.Reader) {
}
// We're not making any progress after 100 tries. Stop.
if n == 0 && err == nil {
if n == 0 {
break
}