diff --git a/CHANGELOG.md b/CHANGELOG.md index fabcf11..14d2118 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -54,6 +54,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Parser stopping at unknown DEC private modes/SGR character attributes - Block selection appending duplicate newlines when last column is selected - Bitmap fonts being a bit smaller than they should be in some cases +- Config reload creating alternate screen history instead of updating scrollback ### Removed diff --git a/alacritty_terminal/src/term/mod.rs b/alacritty_terminal/src/term/mod.rs index b2184ad..a91f41e 100644 --- a/alacritty_terminal/src/term/mod.rs +++ b/alacritty_terminal/src/term/mod.rs @@ -972,7 +972,12 @@ impl Term { } 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.