diff --git a/src/renderer/src/components/terminal-pane/pty-connection.ts b/src/renderer/src/components/terminal-pane/pty-connection.ts index 732c62edb7d..50902349d9a 100644 --- a/src/renderer/src/components/terminal-pane/pty-connection.ts +++ b/src/renderer/src/components/terminal-pane/pty-connection.ts @@ -2500,7 +2500,7 @@ export function connectPanePty( return transport.serializeBuffer(opts) } - function isHiddenStartupRendererQueryWindowActive(): boolean { + function isHiddenStartupDeliveryGateHoldActive(): boolean { return ( shouldSnapshotHiddenCodexOutput && Date.now() < hiddenStartupRendererQueryWindowExpiresAt && @@ -2583,7 +2583,7 @@ export function connectPanePty( !shouldWritePtyOutputForeground(deps.isVisibleRef.current) && // Why: codex startup probes need the live xterm to answer renderer // queries for 10s — never gate delivery while the window is active. - !isHiddenStartupRendererQueryWindowActive() + !isHiddenStartupDeliveryGateHoldActive() const isFirstSyncForPty = hiddenDeliverySyncedPtyId !== ptyId hiddenDeliverySyncedPtyId = ptyId if (shouldHide) {