aboutsummaryrefslogtreecommitdiff
path: root/src/event_loop.rs
diff options
context:
space:
mode:
authorJoe Wilm <joe@jwilm.com>2016-12-04 15:48:30 -0800
committerJoe Wilm <joe@jwilm.com>2016-12-11 20:23:41 -0800
commited48d08c0398d5905398d48575884a0226e10dc1 (patch)
treeb9b43167887f3d5ca47f13c359899520bfc8ae4a /src/event_loop.rs
parent61c1e37c4652e3668546f4d332d31f24a8eea7bb (diff)
downloadalacritty-ed48d08c0398d5905398d48575884a0226e10dc1.tar.gz
alacritty-ed48d08c0398d5905398d48575884a0226e10dc1.zip
Implement Handler::identify_terminal for Term
The identify_terminal function signature had to change to support writing to the terminal before processing additional input.
Diffstat (limited to 'src/event_loop.rs')
-rw-r--r--src/event_loop.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event_loop.rs b/src/event_loop.rs
index 632ad28e..72b98425 100644
--- a/src/event_loop.rs
+++ b/src/event_loop.rs
@@ -189,7 +189,7 @@ impl<Io> EventLoop<Io>
let mut terminal = self.terminal.lock();
for byte in &buf[..got] {
- state.parser.advance(&mut *terminal, *byte);
+ state.parser.advance(&mut *terminal, *byte, &mut self.pty);
}
terminal.dirty = true;