Enter key doesn’t confirm “overwrite checkpoint” prompt in terminal
What happened?
Summary
When using gemini-cli in both the VS Code integrated terminal and a WSL terminal, I can’t overwrite an existing save checkpoint because the Enter key doesn’t confirm the prompt.
In addition, once this overwrite prompt appears, the input field effectively becomes unresponsive—so I can’t type, select options, or change the tag.
Steps to Reproduce
- Open VS Code integrated terminal.
- Run the command to save a chat with a tag that already exists, e.g.:
╭────────────────────────╮
│ > /chat save default │
╰────────────────────────╯
A checkpoint with the tag default already exists. Do you want to overwrite it?
● 1. Yes
2. No
- Press Enter to confirm.
Observed: Pressing Enter does nothing. The prompt remains and the terminal stops accepting normal input (can’t type digits, can’t switch selection, etc.).
Impact
The prompt traps input and blocks overwrite entirely. Because the input is unresponsive, I can’t use a different tag or choose another option from the prompt. I have to interrupt/exit the process (e.g., cancel or close the terminal).
What did you expect to happen?
Pressing Enter should accept the highlighted option (Yes) and overwrite the checkpoint.
Client information
- CLI Version: 0.1.20
- Git Commit: 214800cf
- Operating System: linux v20.19.3
- Sandbox Environment: no sandbox
- Model Version: gemini-2.5-pro
- Memory Usage: 171.0 MB
- Terminals: VS Code integrated terminal and WSL terminal
Login information
API key
Anything else we need to know?
- Reproducible in both VS Code and WSL terminals.
- The overwrite prompt renders correctly, but Enter doesn’t trigger confirmation and the input becomes unresponsive, preventing any workaround like renaming the tag.
I am facing the same problem after updating Gemini CLI to 0.1.20
me too
I'll just say again that I've never seen a more crooked application.
- John, are we going to fix the old bugs with infinite scrolling, with a model that can't edit files?
- Let's add a new button!
- But it doesn't work!
- Yes!
- hahaha
- hahaha
Same problem at the "Get Started" Login screen.
Even after updating to version 0.1.21, the issue persists.
The CLI does not allow me to select "Yes" or "No" — it just freezes and I have to terminate it with Ctrl+C. Unfortunately, this makes it impossible to save the checkpoint.
Probably due to recent input processing changes.