aboutsummaryrefslogtreecommitdiff
path: root/alacritty_terminal/src/event_loop.rs
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2021-02-13 18:15:57 +0000
committerGitHub <noreply@github.com>2021-02-13 18:15:57 +0000
commitd872b9f3aed225bcae74ee3707a690c1a096608e (patch)
treef0686a59463c65e218b4b3945b6249ecc1dfc0f3 /alacritty_terminal/src/event_loop.rs
parenta5e2ccd5aba720cc63af4079e7f5e5afb6d9b893 (diff)
downloadalacritty-d872b9f3aed225bcae74ee3707a690c1a096608e.tar.gz
alacritty-d872b9f3aed225bcae74ee3707a690c1a096608e.zip
Update dependencies
This introduces some duplicate dependencies, though they are necessary to build properly without any warnings. Fixes #4735.
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 2fe3f64e..8a6441ce 100644
--- a/alacritty_terminal/src/event_loop.rs
+++ b/alacritty_terminal/src/event_loop.rs
@@ -221,7 +221,7 @@ where
let mut terminal = None;
loop {
- match self.pty.reader().read(&mut buf[..]) {
+ match self.pty.reader().read(buf) {
Ok(0) => break,
Ok(got) => {
// Record bytes read; used to limit time spent in pty_read.