mirror of
https://github.com/alacritty/alacritty.git
synced 2024-11-18 13:55:23 -05:00
Fix config reload updating incorrect grid
This commit is contained in:
parent
73641d0367
commit
fa11b56cf6
2 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -972,8 +972,13 @@ impl<T> Term<T> {
|
|||
}
|
||||
self.default_cursor_style = config.cursor.style;
|
||||
self.dynamic_title = config.dynamic_title();
|
||||
|
||||
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.
|
||||
pub fn selection_to_string(&self) -> Option<String> {
|
||||
|
|
Loading…
Reference in a new issue