aboutsummaryrefslogtreecommitdiff
path: root/alacritty_terminal/src/grid/storage.rs
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2024-03-12 12:15:00 +0100
committerGitHub <noreply@github.com>2024-03-12 15:15:00 +0400
commit275726f78499698f82eafff761fb497b29ddc2b8 (patch)
tree06cd7e06264c13fd34d9f8ba2b9a6b15152a0443 /alacritty_terminal/src/grid/storage.rs
parent41d2f1df4509148a6f1ffb3de59c2389a3a93283 (diff)
downloadalacritty-275726f78499698f82eafff761fb497b29ddc2b8.tar.gz
alacritty-275726f78499698f82eafff761fb497b29ddc2b8.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_terminal/src/grid/storage.rs')
-rw-r--r--alacritty_terminal/src/grid/storage.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/alacritty_terminal/src/grid/storage.rs b/alacritty_terminal/src/grid/storage.rs
index d5709d14..0a2be43b 100644
--- a/alacritty_terminal/src/grid/storage.rs
+++ b/alacritty_terminal/src/grid/storage.rs
@@ -1,4 +1,4 @@
-use std::cmp::{max, PartialEq};
+use std::cmp::max;
use std::mem;
use std::mem::MaybeUninit;
use std::ops::{Index, IndexMut};