diff options
author | Christian Duerr <contact@christianduerr.com> | 2018-03-08 22:50:04 +0100 |
---|---|---|
committer | Joe Wilm <jwilm@users.noreply.github.com> | 2018-03-12 23:21:19 -0700 |
commit | f936f40ad2326324cf3c4af14cc380a6ebbc5b56 (patch) | |
tree | a83929c2334401f3918772ac657fc54e6a12c366 /src/event.rs | |
parent | b7e0005334da5969e64eccb35517d63e4dd69f8e (diff) | |
download | alacritty-f936f40ad2326324cf3c4af14cc380a6ebbc5b56.tar.gz alacritty-f936f40ad2326324cf3c4af14cc380a6ebbc5b56.zip |
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.
Diffstat (limited to 'src/event.rs')
-rw-r--r-- | src/event.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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<N: Notify> Processor<N> { 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; |