mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-06 11:21:15 -07:00
fix(cli): resolve Ctrl+Enter and Ctrl+J newline issues (#17021)
This commit is contained in:
@@ -524,9 +524,9 @@ function* emitKeys(
|
||||
// carriage return
|
||||
name = 'return';
|
||||
meta = escaped;
|
||||
} else if (ch === '\n') {
|
||||
// Enter, should have been called linefeed
|
||||
name = 'enter';
|
||||
} else if (escaped && ch === '\n') {
|
||||
// Alt+Enter (linefeed), should be consistent with carriage return
|
||||
name = 'return';
|
||||
meta = escaped;
|
||||
} else if (ch === '\t') {
|
||||
// tab
|
||||
|
||||
Reference in New Issue
Block a user