mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-10-08 19:06:36 +00:00
renderer: do not render if synchronized output is on
This commit is contained in:
@@ -709,6 +709,12 @@ pub fn render(
|
||||
state.mutex.lock();
|
||||
defer state.mutex.unlock();
|
||||
|
||||
// If we're in a synchronized output state, we pause all rendering.
|
||||
if (state.terminal.modes.get(.synchronized_output)) {
|
||||
log.debug("synchronized output started, skipping render", .{});
|
||||
return;
|
||||
}
|
||||
|
||||
self.cursor_visible = visible: {
|
||||
// If the cursor is explicitly not visible in the state,
|
||||
// then it is not visible.
|
||||
|
Reference in New Issue
Block a user