diff options
Diffstat (limited to 'src/term')
-rw-r--r-- | src/term/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/term/mod.rs b/src/term/mod.rs index 3bce60cd..220dd8e6 100644 --- a/src/term/mod.rs +++ b/src/term/mod.rs @@ -785,7 +785,7 @@ impl Term { } pub fn reset_scroll(&mut self) { - self.grid.reset_scroll(); + self.grid.reset_scroll_display(); } #[inline] @@ -799,7 +799,7 @@ impl Term { let num_cols = size.cols(); let num_lines = size.lines(); - let grid = Grid::new(num_lines, num_cols, template); + let grid = Grid::new(num_lines, num_cols, config.scroll_history(), template); let tabspaces = config.tabspaces(); let tabs = IndexRange::from(Column(0)..grid.num_cols()) |