mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-05 23:37:25 +00:00
fix indent
This commit is contained in:
parent
f8c71c6a06
commit
9c53c47f80
1 changed files with 2 additions and 3 deletions
|
|
@ -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[] = [];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue