summaryrefslogtreecommitdiff
path: root/alacritty_terminal/src/term/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'alacritty_terminal/src/term/mod.rs')
-rw-r--r--alacritty_terminal/src/term/mod.rs7
1 files changed, 6 insertions, 1 deletions
diff --git a/alacritty_terminal/src/term/mod.rs b/alacritty_terminal/src/term/mod.rs
index b2184ad9..a91f41ef 100644
--- a/alacritty_terminal/src/term/mod.rs
+++ b/alacritty_terminal/src/term/mod.rs
@@ -972,7 +972,12 @@ impl<T> Term<T> {
}
self.default_cursor_style = config.cursor.style;
self.dynamic_title = config.dynamic_title();
- self.grid.update_history(config.scrolling.history() as usize);
+
+ if self.alt {
+ self.alt_grid.update_history(config.scrolling.history() as usize);
+ } else {
+ self.grid.update_history(config.scrolling.history() as usize);
+ }
}
/// Convert the active selection to a String.