mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-17 01:06:08 +03:00
termio/exec: disable synchronized output mode on resize
This commit is contained in:
@ -293,6 +293,13 @@ pub fn resize(
|
|||||||
// Update our pixel sizes
|
// Update our pixel sizes
|
||||||
self.terminal.width_px = padded_size.width;
|
self.terminal.width_px = padded_size.width;
|
||||||
self.terminal.height_px = padded_size.height;
|
self.terminal.height_px = padded_size.height;
|
||||||
|
|
||||||
|
// Disable synchronized output mode so that we show changes
|
||||||
|
// immediately for a resize. This is allowed by the spec.
|
||||||
|
self.terminal.modes.set(.synchronized_output, false);
|
||||||
|
|
||||||
|
// Wake up our renderer so any changes will be shown asap
|
||||||
|
self.renderer_wakeup.notify() catch {};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user