From 581c1e9193558df224b1105c8fd4fa14c508cd20 Mon Sep 17 00:00:00 2001 From: sxyazi Date: Thu, 18 Jun 2026 21:21:21 +0800 Subject: [PATCH] Add a little comment --- yazi-term/src/stream/stream.rs | 1 + 1 file changed, 1 insertion(+) 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();