alacritty

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit dd8639b6cc5d635d2826a05b7449c2a10d4af4c3
parent e4dc43e87c5330c1f22dc2e7570d7e66881ef647
Author: Christian Duerr <contact@christianduerr.com>
Date:   Thu,  3 Jan 2019 20:28:31 +0100

Launch URLs only when left-clicking

This fixes #1903.

Diffstat:
MCHANGELOG.md | 1+
Msrc/input.rs | 2+-
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md @@ -29,6 +29,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Various Windows issues, like color support and performance, through the new ConPTY - Fixed rendering non default mouse cursors in terminal mouse mode (linux) - Fix the `Copy` `mouse_bindings` action ([#1963](https://github.com/jwilm/alacritty/issues/1963)) +- URLs are only launched when left-clicking ## Version 0.2.4 diff --git a/src/input.rs b/src/input.rs @@ -520,7 +520,7 @@ impl<'a, A: ActionContext + 'a> Processor<'a, A> { MouseButton::Other(_) => (), }; return; - } else { + } else if button == MouseButton::Left { self.launch_url(modifiers); }