mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-25 04:24:51 -07:00
refactor(cli): rename 'return' key to 'enter' internally (#21796)
This commit is contained in:
committed by
GitHub
parent
ec7773eb7b
commit
14412c3a72
@@ -111,7 +111,7 @@ describe(`useKeypress`, () => {
|
||||
|
||||
it('should correctly identify alt+enter (meta key)', () => {
|
||||
renderKeypressHook(true);
|
||||
const key = { name: 'return', sequence: '\x1B\r' };
|
||||
const key = { name: 'enter', sequence: '\x1B\r' };
|
||||
act(() => stdin.write(key.sequence));
|
||||
expect(onKeypress).toHaveBeenCalledWith(
|
||||
expect.objectContaining({
|
||||
|
||||
Reference in New Issue
Block a user