summaryrefslogtreecommitdiff
path: root/src/event.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/event.rs')
-rw-r--r--src/event.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/event.rs b/src/event.rs
index 894777fa..3dce4d66 100644
--- a/src/event.rs
+++ b/src/event.rs
@@ -298,19 +298,19 @@ impl<N: Notify> Processor<N> {
ReceivedCharacter(c) => {
processor.received_char(c);
},
- MouseInput { state, button, .. } => {
+ MouseInput { state, button, modifiers, .. } => {
*hide_cursor = false;
- processor.mouse_input(state, button);
+ processor.mouse_input(state, button, modifiers);
processor.ctx.terminal.dirty = true;
},
- CursorMoved { position: (x, y), .. } => {
+ CursorMoved { position: (x, y), modifiers, .. } => {
let x = x as i32;
let y = y as i32;
let x = limit(x, 0, processor.ctx.size_info.width as i32);
let y = limit(y, 0, processor.ctx.size_info.height as i32);
*hide_cursor = false;
- processor.mouse_moved(x as u32, y as u32);
+ processor.mouse_moved(x as u32, y as u32, modifiers);
if !processor.ctx.selection.is_none() {
processor.ctx.terminal.dirty = true;