diff --git a/src/renderer/src/components/terminal-pane/pty-connection.ts b/src/renderer/src/components/terminal-pane/pty-connection.ts index a08be6b958a..2a7978b6199 100644 --- a/src/renderer/src/components/terminal-pane/pty-connection.ts +++ b/src/renderer/src/components/terminal-pane/pty-connection.ts @@ -2966,7 +2966,7 @@ export function connectPanePty( } const restoreAppliesToCurrentPty = hiddenOutputRestorePtyId !== null && transport.getPtyId() === hiddenOutputRestorePtyId - const synchronizedOutputStarted = containsSynchronizedOutputStart(data) + const synchronizedOutputStarted = data.startsWith('\x1b[?2026h') const synchronizedHiddenOutput = !foreground && (synchronizedHiddenOutputActive ||