aboutsummaryrefslogtreecommitdiff
path: root/alacritty/src/config/ui_config.rs
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2024-03-12 12:15:00 +0100
committerJosh Rahm <rahm@google.com>2024-08-14 15:41:13 -0600
commit84a9d7446eba3e912ad3b7efd0000ff8ea5845a7 (patch)
treec64747f68509f395fa8d2ef39ce24f40ab273891 /alacritty/src/config/ui_config.rs
parent082a348e7df9b35f4d574256f7a2856676421288 (diff)
downloadr-alacritty-84a9d7446eba3e912ad3b7efd0000ff8ea5845a7.tar.gz
r-alacritty-84a9d7446eba3e912ad3b7efd0000ff8ea5845a7.tar.bz2
r-alacritty-84a9d7446eba3e912ad3b7efd0000ff8ea5845a7.zip
Fix hint `Select` action for hyperlink escape
This fixes an issue where the `Select` action for hyperlink escape text would select the entire line, instead of selecting only the hyperlink itself. It also changes the way hyperlinks with the same ID are highlighted, removing the restriction of being on consecutive lines and instead highlighting all visible cells that correspond to the matching hyperlink. Closes #7766.
Diffstat (limited to 'alacritty/src/config/ui_config.rs')
-rw-r--r--alacritty/src/config/ui_config.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/alacritty/src/config/ui_config.rs b/alacritty/src/config/ui_config.rs
index 21059734..a4b6c2c5 100644
--- a/alacritty/src/config/ui_config.rs
+++ b/alacritty/src/config/ui_config.rs
@@ -10,7 +10,7 @@ use alacritty_terminal::term::Config as TermConfig;
use alacritty_terminal::tty::{Options as PtyOptions, Shell};
use log::{error, warn};
use serde::de::{Error as SerdeError, MapAccess, Visitor};
-use serde::{self, Deserialize, Deserializer};
+use serde::{Deserialize, Deserializer};
use unicode_width::UnicodeWidthChar;
use winit::keyboard::{Key, ModifiersState};