Fix 'reload' not terminating closed standard input stream

Fix #3750
This commit is contained in:
Junegunn Choi committed 2024-04-25 16:49:06 +09:00
1 parent 4ab7fdc28e
commit fddbfe7b0e
2 files changed
+6 -1

No files matched your search

+1 -1
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
}