1
1
mirror of https://github.com/wez/wezterm.git synced 2024-09-20 11:17:15 +03:00

term: remove Line::invalidate_implicit_hyperlinks calls

We haven't set implicit hyperlinks in the term layer for a long
time; these calls are no longer needed.
This commit is contained in:
Wez Furlong 2022-04-28 20:27:40 -07:00
parent 77cbc31ee9
commit f64a91783e

View File

@ -108,7 +108,6 @@ impl Screen {
let mut adjusted_cursor = (cursor_y, cursor_y);
for (phys_idx, mut line) in self.lines.drain(..).enumerate() {
line.invalidate_implicit_hyperlinks(seqno);
line.update_last_change_seqno(seqno);
let was_wrapped = line.last_cell_was_wrapped();
@ -553,7 +552,6 @@ impl Screen {
// and place them into the dest
let dest_row = self.line_mut(dest_row);
dest_row.update_last_change_seqno(seqno);
dest_row.invalidate_implicit_hyperlinks(seqno);
let dest_range =
left_and_right_margins.start..left_and_right_margins.start + cells.len();
if dest_row.cells().len() < dest_range.end {
@ -580,7 +578,6 @@ impl Screen {
for n in phys_scroll.start + rows_to_copy..phys_scroll.end {
let dest_row = self.line_mut(n);
dest_row.update_last_change_seqno(seqno);
dest_row.invalidate_implicit_hyperlinks(seqno);
for cell in dest_row
.cells_mut()
.iter_mut()
@ -794,7 +791,6 @@ impl Screen {
// and place them into the dest
let dest_row = self.line_mut(dest_row);
dest_row.update_last_change_seqno(seqno);
dest_row.invalidate_implicit_hyperlinks(seqno);
let dest_range =
left_and_right_margins.start..left_and_right_margins.start + cells.len();
if dest_row.cells().len() < dest_range.end {
@ -820,7 +816,6 @@ impl Screen {
for n in phys_scroll.start..phys_scroll.start + num_rows {
let dest_row = self.line_mut(n);
dest_row.update_last_change_seqno(seqno);
dest_row.invalidate_implicit_hyperlinks(seqno);
for cell in dest_row
.cells_mut()
.iter_mut()