mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-15 22:33:05 -07:00
fix(cli): enforce exact return key sequences in settings inline edit buffer listeners
This commit is contained in:
@@ -325,7 +325,7 @@ export function BaseSettingsDialog({
|
||||
}
|
||||
|
||||
// Enter in edit mode - commit
|
||||
if (keyMatchers[Command.RETURN](key)) {
|
||||
if (keyMatchers[Command.RETURN](key) || key.name === 'enter' || key.sequence === '\r') {
|
||||
commitEdit();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user