gemini-cli - 💡(How to fix) Fix The console freezes when the `Edit` window pops up with multiple files labeled "1 of n". [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
google-gemini/gemini-cli#26108Fetched 2026-04-29 06:35:55
View on GitHub
Comments
0
Participants
1
Timeline
1
Reactions
0
Participants
Timeline (top)
labeled ×1

Code Example

> /about
╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                                                                                                                                     │
About Gemini CLI│                                                                                                                                                                                                                     │
CLI Version                                                               0.39.1Git Commit                                                                4d73f3413                                                                                                                                 │
Model                                                                     Auto (Gemini 3)Sandbox                                                                   no sandbox                                                                                                                                │
OS                                                                        darwin                                                                                                                                    │
Auth Method                                                               Signed in with Google (bregmancuervo596@gmail.com)Tier                                                                      Gemini Code Assist in Google One AI ProGCP Project                                                               fiery-marking-488416-d0                                                                                                                   │
│                                                                                                                                                                                                                     │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
RAW_BUFFERClick to expand / collapse

What happened?

When working with the gemini CLI, if I don't set the auto-accept edits mode, a window pops up, for example Edit, showing how many files I need to edit: 1 of 3. When I accept the changes by selecting the first option, a window showing 2 of 3 appears, at which point the console freezes and no keystrokes help me continue working or editing the files. I have to enable auto-accept edits for batch editing, which isn’t very convenient, and this problem clearly didn’t exist before.

What did you expect to happen?

I expected the files to be edited sequentially by selecting the first option if I agreed with the changes.

Client information

> /about
╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                                                                                                                                     │
│ About Gemini CLI                                                                                                                                                                                                    │
│                                                                                                                                                                                                                     │
│ CLI Version                                                               0.39.1                                                                                                                                    │
│ Git Commit                                                                4d73f3413                                                                                                                                 │
│ Model                                                                     Auto (Gemini 3)                                                                                                                           │
│ Sandbox                                                                   no sandbox                                                                                                                                │
│ OS                                                                        darwin                                                                                                                                    │
│ Auth Method                                                               Signed in with Google ([email protected])                                                                                        │
│ Tier                                                                      Gemini Code Assist in Google One AI Pro                                                                                                   │
│ GCP Project                                                               fiery-marking-488416-d0                                                                                                                   │
│                                                                                                                                                                                                                     │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

Login information

No response

Anything else we need to know?

No response

extent analysis

TL;DR

The issue can be temporarily worked around by enabling auto-accept edits mode for batch editing, but a more permanent solution would involve investigating and resolving the console freeze issue when manually accepting edits.

Guidance

  • Investigate the console freeze issue by checking for any error messages or logs that may indicate the cause of the freeze.
  • Try to reproduce the issue with a smaller set of files to see if the problem is related to the number of files being edited.
  • Consider filing a bug report with the Gemini CLI developers, as this issue may be a regression introduced in version 0.39.1.
  • Check the Gemini CLI documentation or community forums for any known issues or workarounds related to manual edit acceptance.

Example

No code snippet is provided as the issue is related to a CLI tool and its behavior, rather than a programming code issue.

Notes

The issue seems to be specific to the Gemini CLI version 0.39.1, and the user has already identified a workaround by enabling auto-accept edits mode. However, this workaround may not be convenient for all use cases.

Recommendation

Apply workaround: Enable auto-accept edits mode for batch editing, as this is the only known way to avoid the console freeze issue at this time.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING