From 5f7fb4c3e27fc352f161a152fdcf2805cdbf2158 Mon Sep 17 00:00:00 2001 From: Christian Duerr Date: Mon, 26 Aug 2019 18:09:20 +0200 Subject: Fix url highlight not showing with required modifiers --- alacritty_terminal/src/grid/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'alacritty_terminal/src/grid/mod.rs') diff --git a/alacritty_terminal/src/grid/mod.rs b/alacritty_terminal/src/grid/mod.rs index 2d191d20..01c17152 100644 --- a/alacritty_terminal/src/grid/mod.rs +++ b/alacritty_terminal/src/grid/mod.rs @@ -280,7 +280,7 @@ impl Grid { last_row.append(&mut cells); if row.is_empty() { - let raw_len = i + 1 + new_raw.len();; + let raw_len = i + 1 + new_raw.len(); if raw_len < self.lines.0 || self.scroll_limit == 0 { // Add new line and move lines up if we can't pull from history cursor_pos.line = Line(cursor_pos.line.saturating_sub(1)); -- cgit