summaryrefslogtreecommitdiff
path: root/alacritty_terminal/src/event_loop.rs
diff options
context:
space:
mode:
Diffstat (limited to 'alacritty_terminal/src/event_loop.rs')
-rw-r--r--alacritty_terminal/src/event_loop.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/alacritty_terminal/src/event_loop.rs b/alacritty_terminal/src/event_loop.rs
index b0676e4d..b4c0a5e4 100644
--- a/alacritty_terminal/src/event_loop.rs
+++ b/alacritty_terminal/src/event_loop.rs
@@ -394,7 +394,7 @@ where
// This sucks, but checking the process is either racy or
// blocking.
#[cfg(target_os = "linux")]
- if err.kind() == ErrorKind::Other {
+ if err.raw_os_error() == Some(libc::EIO) {
continue;
}