mirror of
https://github.com/alacritty/alacritty.git
synced 2024-11-11 13:51:01 -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
|
- Parser stopping at unknown DEC private modes/SGR character attributes
|
||||||
- Block selection appending duplicate newlines when last column is selected
|
- Block selection appending duplicate newlines when last column is selected
|
||||||
- Bitmap fonts being a bit smaller than they should be in some cases
|
- Bitmap fonts being a bit smaller than they should be in some cases
|
||||||
|
- Config reload creating alternate screen history instead of updating scrollback
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
|
|
||||||
|
|
|
@ -972,7 +972,12 @@ impl<T> Term<T> {
|
||||||
}
|
}
|
||||||
self.default_cursor_style = config.cursor.style;
|
self.default_cursor_style = config.cursor.style;
|
||||||
self.dynamic_title = config.dynamic_title();
|
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.
|
/// Convert the active selection to a String.
|
||||||
|
|
Loading…
Reference in a new issue