diff options
author | Christian Duerr <chrisduerr@users.noreply.github.com> | 2019-03-28 07:02:44 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-28 07:02:44 +0000 |
commit | 16153e615d62b4ff589e34537897652a44545f94 (patch) | |
tree | b3f7acb60e9fbb06ac2ce733383de0003e137fbd | |
parent | 77536e8fac303c1954d40e2db2bd083716b04a29 (diff) | |
download | alacritty-16153e615d62b4ff589e34537897652a44545f94.tar.gz alacritty-16153e615d62b4ff589e34537897652a44545f94.zip |
Disable URL highlight with URL launcher disabled
-rw-r--r-- | src/input.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/input.rs b/src/input.rs index 466161a7..9fe8e6bc 100644 --- a/src/input.rs +++ b/src/input.rs @@ -441,6 +441,7 @@ impl<'a, A: ActionContext + 'a> Processor<'a, A> { // Only show URLs as launchable when all required modifiers are pressed let url = if self.mouse_config.url.modifiers.relaxed_eq(modifiers) && (!self.ctx.terminal().mode().intersects(mouse_mode) || modifiers.shift) + && self.mouse_config.url.launcher.is_some() { self.ctx.terminal().url_search(point.into()) } else { |