aboutsummaryrefslogtreecommitdiff
path: root/src/event.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/event.rs')
-rw-r--r--src/event.rs9
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());
},
_ => (),
}