From e00d59373190a21a19ac49d967929dca10e272f2 Mon Sep 17 00:00:00 2001 From: Callum Alpass Date: Wed, 4 Nov 2026 08:14:58 +1100 Subject: [PATCH] Allow the escape character in the in-band resize regex --- src/ui/TerminalPane.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ui/TerminalPane.tsx b/src/ui/TerminalPane.tsx index 419d501..bc3eee1 100644 --- a/src/ui/TerminalPane.tsx +++ b/src/ui/TerminalPane.tsx @@ -170,6 +170,7 @@ function attachServer(session: T3Session, target: TerminalTarget, term: Embedded * stops listening for SIGWINCH and so never sees the pane change size. */ function withoutInBandResize(data: Uint8Array): Uint8Array { + // biome-ignore lint/suspicious/noControlCharactersInRegex: this matches an escape sequence return Buffer.from(Buffer.from(data).toString("latin1").replace(/\x1b\[\?2048;\d\$y/g, "\x1b[?2048;0$y"), "latin1"); }