From f936f40ad2326324cf3c4af14cc380a6ebbc5b56 Mon Sep 17 00:00:00 2001 From: Christian Duerr Date: Thu, 8 Mar 2018 22:50:04 +0100 Subject: Add modifiers to mouse events This commits adds modifiers to the mouse events. It's an attempt at merging https://github.com/jwilm/alacritty/pull/1141 into this branch/PR. --- src/event.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/event.rs') diff --git a/src/event.rs b/src/event.rs index 770ac53e..72cc61e6 100644 --- a/src/event.rs +++ b/src/event.rs @@ -319,9 +319,9 @@ impl Processor { processor.ctx.terminal.dirty = true; } }, - MouseWheel { delta, phase, .. } => { + MouseWheel { delta, phase, modifiers, .. } => { *hide_cursor = false; - processor.on_mouse_wheel(delta, phase); + processor.on_mouse_wheel(delta, phase, modifiers); }, Refresh => { processor.ctx.terminal.dirty = true; -- cgit