mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-13 21:32:56 -07:00
Stop printing garbage characters for F1,F2.. keys (#12835)
This commit is contained in:
committed by
GitHub
parent
2136598e87
commit
3c9052a751
@@ -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,
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user