gemini-cli icon indicating copy to clipboard operation
gemini-cli copied to clipboard

Enter key doesn’t confirm “overwrite checkpoint” prompt in terminal

Open nahyeongjin1 opened this issue 1 year ago • 6 comments

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

  1. Open VS Code integrated terminal.
  2. 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
  1. 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.

nahyeongjin1 avatar Aug 13 '25 03:08 nahyeongjin1

I am facing the same problem after updating Gemini CLI to 0.1.20

imtiazsohel-git avatar Aug 13 '25 10:08 imtiazsohel-git

me too

bhes74930321 avatar Aug 14 '25 09:08 bhes74930321

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

open6amer avatar Aug 14 '25 10:08 open6amer

Same problem at the "Get Started" Login screen.

Image

TillBeemelmanns avatar Aug 14 '25 11:08 TillBeemelmanns

Even after updating to version 0.1.21, the issue persists.

Image

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.

Image

PauloNRocha avatar Aug 14 '25 15:08 PauloNRocha

Probably due to recent input processing changes.

scidomino avatar Aug 14 '25 20:08 scidomino