fix indent

This commit is contained in:
David Brailovsky 2026-08-11 09:49:08 +00:00
parent f8c71c6a06
commit 9c53c47f80

View file

@ -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[] = [];