increment seqno when resizing
Without this, we don't invalidate the shape hash eg: when zooming a pane. This is potentially also the root cause of some other weirdness with the multiplexer. refs: https://github.com/wez/wezterm/issues/4828 refs: https://github.com/wez/wezterm/issues/3694 refs: https://github.com/wez/wezterm/issues/2351
This commit is contained in:
1 file changed
+1
@@ -836,6 +836,7 @@ impl TerminalState {
|
||||
/// We need to resize both the primary and alt screens, adjusting
|
||||
/// the cursor positions of both accordingly.
|
||||
pub fn resize(&mut self, size: TerminalSize) {
|
||||
self.increment_seqno();
|
||||
let (cursor_main, cursor_alt) = if self.screen.alt_screen_is_active {
|
||||
(
|
||||
self.screen
|
||||
|
||||
Reference in new issue
Block a user