Launch URLs only when left-clicking

This fixes #1903.
This commit is contained in:
Christian Duerr 2019-01-03 20:28:31 +01:00 committed by Christian Duerr
parent e4dc43e87c
commit dd8639b6cc
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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);
}