diff options
Diffstat (limited to 'alacritty_terminal/src/event_loop.rs')
-rw-r--r-- | alacritty_terminal/src/event_loop.rs | 2 |
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. |