From f625257fc8e5ca1b71c6e292b10e38fa684a85a7 Mon Sep 17 00:00:00 2001 From: Christian Duerr Date: Wed, 3 Jan 2018 17:52:49 +0100 Subject: Pass ModifiersState to mouse input as whole ModifiersState is now passed to the mouse methods in `input.rs` as a whole instead of just passing the `shift` state. This should make it a bit easier to do changes in the future. --- src/event.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/event.rs') diff --git a/src/event.rs b/src/event.rs index c43ba2b3..22b42ae7 100644 --- a/src/event.rs +++ b/src/event.rs @@ -300,7 +300,7 @@ impl Processor { }, MouseInput { state, button, modifiers, .. } => { *hide_cursor = false; - processor.mouse_input(state, button, modifiers.shift); + processor.mouse_input(state, button, modifiers); processor.ctx.terminal.dirty = true; }, CursorMoved { position: (x, y), modifiers, .. } => { -- cgit v1.2.3-54-g00ecf