diff options
author | Christian Duerr <contact@christianduerr.com> | 2020-02-23 01:55:29 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-23 01:55:29 +0000 |
commit | fa11b56cf64dab52a2c7f3facc09d9b3a619bd81 (patch) | |
tree | 208af495af828a55c50d9cdd30e1f47fc563f00b /alacritty_terminal | |
parent | 73641d03673638e361b0254ce400c02b1b65e6ed (diff) |
Fix config reload updating incorrect grid
Diffstat (limited to 'alacritty_terminal')
-rw-r--r-- | alacritty_terminal/src/term/mod.rs | 7 |
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. |