From 9c53c47f8086190d0b433216fcfffae69d3e255f Mon Sep 17 00:00:00 2001 From: David Brailovsky Date: Tue, 11 Aug 2026 09:49:08 +0000 Subject: [PATCH] fix indent --- packages/tui/test/stdin-buffer.test.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/tui/test/stdin-buffer.test.ts b/packages/tui/test/stdin-buffer.test.ts index a06f1ec2b..10d2cc3ec 100644 --- a/packages/tui/test/stdin-buffer.test.ts +++ b/packages/tui/test/stdin-buffer.test.ts @@ -135,7 +135,6 @@ describe("StdinBuffer", () => { assert.deepStrictEqual(emittedSequences, ["\x1b[<35"]); }); - it("should flush a lone ESC as Escape when CR arrives after the timeout", async () => { // Legacy-mode Alt+Enter is ESC + CR; when the terminal/transport splits // the bytes further apart than the timeout, ESC is flushed alone and the @@ -162,8 +161,8 @@ describe("StdinBuffer", () => { assert.deepStrictEqual(emittedSequences, ["\x1b\r"]); assert.equal(matchesKey(emittedSequences[0] ?? "", "alt+enter"), true); - }); - + }); + it("keeps fragmented mouse sequences buffered across delayed chunks by default", async () => { const delayedBuffer = new StdinBuffer(); const delayedSequences: string[] = [];