mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-19 02:20:42 -07:00
cleanup: Improve keybindings (#16672)
This commit is contained in:
committed by
GitHub
parent
e58fca68ce
commit
42c26d1e1b
@@ -179,7 +179,7 @@ describe('KeypressContext', () => {
|
||||
|
||||
expect(keyHandler).toHaveBeenLastCalledWith(
|
||||
expect.objectContaining({
|
||||
name: '',
|
||||
name: 'return',
|
||||
sequence: '\r',
|
||||
insertable: true,
|
||||
}),
|
||||
|
||||
@@ -157,7 +157,7 @@ function bufferFastReturn(keypressHandler: KeypressHandler): KeypressHandler {
|
||||
if (key.name === 'return' && now - lastKeyTime <= FAST_RETURN_TIMEOUT) {
|
||||
keypressHandler({
|
||||
...key,
|
||||
name: '',
|
||||
name: 'return',
|
||||
sequence: '\r',
|
||||
insertable: true,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user