diff options
author | Joe Wilm <joe@jwilm.com> | 2016-12-04 15:48:30 -0800 |
---|---|---|
committer | Joe Wilm <joe@jwilm.com> | 2016-12-11 20:23:41 -0800 |
commit | ed48d08c0398d5905398d48575884a0226e10dc1 (patch) | |
tree | b9b43167887f3d5ca47f13c359899520bfc8ae4a /src/event_loop.rs | |
parent | 61c1e37c4652e3668546f4d332d31f24a8eea7bb (diff) | |
download | alacritty-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.rs | 2 |
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; |