diff --git a/yazi-term/src/stream/stream.rs b/yazi-term/src/stream/stream.rs index 4b0aa6eb..69f699a7 100644 --- a/yazi-term/src/stream/stream.rs +++ b/yazi-term/src/stream/stream.rs @@ -31,6 +31,7 @@ impl EventStream { break; } } + // try_poll() already handles Interrupted, this is defensive. Err(e) if e.kind() == io::ErrorKind::Interrupted => continue, Err(e) => { tx.send(Err(e)).ok();