From c4580fe1aa4d760215ecd8b1a3f197963c0d62f0 Mon Sep 17 00:00:00 2001 From: Neil <4138956+nwparker@users.noreply.github.com> Date: Tue, 16 Jun 2026 16:46:40 -0700 Subject: [PATCH] Add hidden startup query window helper --- src/renderer/src/components/terminal-pane/pty-connection.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/renderer/src/components/terminal-pane/pty-connection.ts b/src/renderer/src/components/terminal-pane/pty-connection.ts index 96467390bc7..742e5bba600 100644 --- a/src/renderer/src/components/terminal-pane/pty-connection.ts +++ b/src/renderer/src/components/terminal-pane/pty-connection.ts @@ -2441,6 +2441,10 @@ export function connectPanePty( // hidden xterm is dirty, skipping is safer than sending stale CPR/DECRQM. } + function isHiddenStartupRendererQueryWindowActive(): boolean { + return shouldSnapshotHiddenCodexOutput && hiddenStartupRendererQueryPending.length > 0 + } + function takeHiddenStartupRendererQueryPendingForForeground(data: string): { statelessQueryData: string statefulQueryData: string