diff options
Diffstat (limited to 'alacritty_terminal/src/grid/storage.rs')
-rw-r--r-- | alacritty_terminal/src/grid/storage.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/alacritty_terminal/src/grid/storage.rs b/alacritty_terminal/src/grid/storage.rs index e444d9c3..8e270d2d 100644 --- a/alacritty_terminal/src/grid/storage.rs +++ b/alacritty_terminal/src/grid/storage.rs @@ -80,10 +80,10 @@ impl<T> Storage<T> { T: Clone + Default, { // Number of lines the buffer needs to grow. - let growage = next - self.visible_lines; + let additional_lines = next - self.visible_lines; let columns = self[Line(0)].len(); - self.initialize(growage, columns); + self.initialize(additional_lines, columns); // Update visible lines. self.visible_lines = next; |