diff options
Diffstat (limited to 'alacritty_terminal/src/grid/mod.rs')
-rw-r--r-- | alacritty_terminal/src/grid/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<T: GridCell + Copy + Clone> Grid<T> { 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)); |