diff options
author | Christian Duerr <contact@christianduerr.com> | 2024-03-12 12:15:00 +0100 |
---|---|---|
committer | Christian Duerr <contact@christianduerr.com> | 2024-03-19 02:20:53 +0100 |
commit | 02e4825a92cc0c3570e896f61cf60e5272aa20b4 (patch) | |
tree | 645d1382659cd6d541849bea08f334f405cff9af /alacritty_terminal/src/tty/unix.rs | |
parent | d3267eb964766752a37b94fd3cde12bd033ac777 (diff) | |
download | alacritty-02e4825a92cc0c3570e896f61cf60e5272aa20b4.tar.gz alacritty-02e4825a92cc0c3570e896f61cf60e5272aa20b4.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/tty/unix.rs')
-rw-r--r-- | alacritty_terminal/src/tty/unix.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alacritty_terminal/src/tty/unix.rs b/alacritty_terminal/src/tty/unix.rs index 8ce04191..455abbd2 100644 --- a/alacritty_terminal/src/tty/unix.rs +++ b/alacritty_terminal/src/tty/unix.rs @@ -11,7 +11,7 @@ use std::process::{Child, Command, Stdio}; use std::sync::Arc; use std::{env, ptr}; -use libc::{self, c_int, TIOCSCTTY}; +use libc::{c_int, TIOCSCTTY}; use log::error; use polling::{Event, PollMode, Poller}; use rustix_openpty::openpty; |