mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-17 07:13:07 -07:00
616608ef23
This restores the original autocomplete behavior where hitting Tab on a slash command suggestion correctly inserts a trailing space, allowing the user to naturally type the next argument or subcommand. It also changes the Enter key execution logic to correctly execute a command if it has an action and no completion function, ignoring the autoExecute flag. This matches the expected user behavior where selecting a command like `/stats` and pressing Enter immediately executes it, instead of simply autocompleting it without execution.