alacritty/src
Christian Duerr 91aa683bcd
Rework URL highlighting
This completely reworks URL highlighting to fix two issues which were
caused by the original approach.

The primary issues that were not straight-forward to resolve with the
previous implementation were about handling the URL highlighted content
moving while the highlight is active.

This lead to issues with highlighting with scrolling and when the
display offset was not 0.

The new approach sticks closely to prior art done for the selection,
where the selection is tracked on the grid and updated whenever the
buffer is rotated.

The truncation of URLs was incorrectly assuming input to be just a
single codepoint wide to truncate the end of URLs with unmatching
closing parenthesis. This is now handled properly using Rust's built-in
Unicode support.

This fixes #2231.
This fixes #2225.
2019-03-30 09:23:48 +00:00
..
config Add additional key bindings for changing font size 2019-03-15 20:41:48 +00:00
grid Rework URL highlighting 2019-03-30 09:23:48 +00:00
renderer Remove InclusiveRange code 2019-03-17 21:09:27 +00:00
term Rework URL highlighting 2019-03-30 09:23:48 +00:00
tty Fix invalid --working-dir string ptr for ConPTY 2019-03-14 20:27:18 +00:00
ansi.rs Add URL hover highlighting 2019-03-19 19:14:17 +00:00
cli.rs Update --class docs 2019-03-29 13:21:55 +00:00
display.rs Add option for window position at startup 2019-03-11 12:35:49 +00:00
event.rs Rework URL highlighting 2019-03-30 09:23:48 +00:00
event_loop.rs Fix signal handling on Unix systems 2019-03-12 19:44:47 +00:00
index.rs Rework URL highlighting 2019-03-30 09:23:48 +00:00
input.rs Rework URL highlighting 2019-03-30 09:23:48 +00:00
lib.rs Add URL hover highlighting 2019-03-19 19:14:17 +00:00
locale.rs Use tool lints for clippy allow/deny lint attributes 2018-12-07 13:58:11 +00:00
logging.rs Dynamically resize terminal for errors/warnings 2019-02-07 22:36:45 +00:00
macros.rs Display errors and warnings 2018-11-17 14:39:13 +00:00
main.rs Add text reflow 2019-03-13 18:55:18 +00:00
message_bar.rs Add text reflow 2019-03-13 18:55:18 +00:00
meter.rs Upgrade to Rust 2018 2018-12-10 17:53:56 +00:00
panic.rs Report Windows panics through MessageBox 2018-12-23 22:36:06 +00:00
selection.rs Add URL hover highlighting 2019-03-19 19:14:17 +00:00
sync.rs Upgrade to Rust 2018 2018-12-10 17:53:56 +00:00
url.rs Rework URL highlighting 2019-03-30 09:23:48 +00:00
util.rs Remove deprecated libc::daemon call 2019-03-21 19:55:19 +00:00
window.rs Fix `start_maximized` option on X11 2019-03-25 00:27:34 +00:00