diff options
-rw-r--r-- | alacritty/src/input/mod.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/alacritty/src/input/mod.rs b/alacritty/src/input/mod.rs index e811e4c4..a465fd37 100644 --- a/alacritty/src/input/mod.rs +++ b/alacritty/src/input/mod.rs @@ -1000,7 +1000,8 @@ impl<T: EventListener, A: ActionContext<T>> Processor<T, A> { let mut check_fallback = mouse_mode && mods.contains(ModifiersState::SHIFT); for binding in &mouse_bindings { - if binding.is_triggered_by(mode, mods, &button) { + // Don't trigger normal bindings in mouse mode unless Shift is pressed. + if binding.is_triggered_by(mode, mods, &button) && (check_fallback || !mouse_mode) { binding.action.execute(&mut self.ctx); check_fallback = false; } |