From 4b428df0a499f5e68f2d81809783e730ef2d119d Mon Sep 17 00:00:00 2001 From: jay Date: Sat, 16 May 2026 03:46:24 +0200 Subject: [PATCH] fix: capturePane with escapes=true for color-accurate snapshots --- extensions/remote-control/server/routes/stream.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/remote-control/server/routes/stream.ts b/extensions/remote-control/server/routes/stream.ts index e793594..2fad941 100644 --- a/extensions/remote-control/server/routes/stream.ts +++ b/extensions/remote-control/server/routes/stream.ts @@ -163,7 +163,7 @@ function handleStreamConnection( const rows = typeof m.rows === "number" ? m.rows : 24; resizeSession(sessionId, cols, rows).catch(() => {}); } else if (m.type === "snapshot-request") { - capturePane({ session: sessionId }) + capturePane({ session: sessionId, escapes: true }) .then((text) => { const data = Buffer.from(text).toString("base64"); const s = seq.next();