Stop printing garbage characters for F1,F2.. keys (#12835)

This commit is contained in:
Tommaso Sciortino
2025-11-10 10:56:05 -08:00
committed by GitHub
parent 2136598e87
commit 3c9052a751
10 changed files with 70 additions and 18 deletions
@@ -38,7 +38,7 @@ class MockStdin extends EventEmitter {
}
}
describe(`useKeypress with useKitty=%s`, () => {
describe(`useKeypress`, () => {
let stdin: MockStdin;
const mockSetRawMode = vi.fn();
const onKeypress = vi.fn();
@@ -144,6 +144,7 @@ describe(`useKeypress with useKitty=%s`, () => {
meta: false,
shift: false,
paste: true,
insertable: true,
sequence: pasteText,
});
});
@@ -281,6 +282,7 @@ describe(`useKeypress with useKitty=%s`, () => {
meta: false,
shift: false,
paste: true,
insertable: true,
sequence: pasteText,
});
});