mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-14 20:44:32 +02:00
Fix spurious EOF error when select for reading from the tty fails with a temporary error
This commit is contained in:
@@ -86,9 +86,7 @@ func read_from_tty(pipe_r *os.File, term *tty.Term, results_channel chan<- []byt
|
||||
break
|
||||
}
|
||||
if n == 0 {
|
||||
err_channel <- io.EOF
|
||||
keep_going = false
|
||||
break
|
||||
continue
|
||||
}
|
||||
send := buf[:n]
|
||||
buf = buf[n:]
|
||||
|
||||
Reference in New Issue
Block a user