diff options
author | Joe Wilm <joe@jwilm.com> | 2016-09-26 22:22:28 -0700 |
---|---|---|
committer | Joe Wilm <joe@jwilm.com> | 2016-09-26 22:22:28 -0700 |
commit | 077a058cc428db8b1a9ec13f2a9c49ba500f7ac0 (patch) | |
tree | 630361503e038b588b060c13d48f50aff03abb1b /src/event.rs | |
parent | 89937e7bc53bcdf6738bc378d02978ece8a205e6 (diff) | |
download | alacritty-077a058cc428db8b1a9ec13f2a9c49ba500f7ac0.tar.gz alacritty-077a058cc428db8b1a9ec13f2a9c49ba500f7ac0.zip |
wip
doesn't work on ubuntu 16.04 for some reason
Diffstat (limited to 'src/event.rs')
-rw-r--r-- | src/event.rs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/event.rs b/src/event.rs index 1b30ed64..3dbe1e4b 100644 --- a/src/event.rs +++ b/src/event.rs @@ -60,7 +60,14 @@ impl<N: input::Notify> Processor<N> { let processor = &mut self.input_processor; let notifier = &mut self.notifier; - processor.process(state, key, mods, notifier, *terminal.mode()); + processor.process_key(state, key, mods, notifier, *terminal.mode()); + }, + glutin::Event::MouseInput(state, button) => { + let terminal = self.terminal.lock(); + let processor = &mut self.input_processor; + let notifier = &mut self.notifier; + + processor.mouse_input(state, button, notifier, *terminal.mode()); }, _ => (), } |