google-gemini / google-gemini/gemini-cli

Gemini CLI doesnt allow me to aprove Gemini.md creation

Open
#28,887 3 comments 0 reactions 0 assignees View on GitHub
area/core effort/medium kind/bug priority/p1 status/bot-triaged
Dominant language
TypeScript
Stars
107k
Forks
14.6k
Avg merge
2d 3h
Merged PRs (30d)
45

Description

### What happened?

#### Description

After running `/init`, the `Gemini.md` file was successfully created. Immediately afterward, an interactive selection prompt appeared, allowing me to choose options such as accepting or modifying the generated file.

However, I was unable to select any option.

I could navigate through the available options using the arrow keys, but none of the selection/confirmation keys worked. I tried pressing:

* `Spacebar`
* `Enter`
* `Right Arrow`

None of these inputs were recognized, so I could not confirm or select the desired option.

#### Steps to Reproduce

1. Run `/init`.
2. Wait for `Gemini.md` to be generated.
3. When the interactive selection prompt appears, try to select an option.
4. Navigate using the arrow keys.
5. Try to confirm the selection using `Spacebar`, `Enter`, or `Right Arrow`.

#### Impact

The `/init` workflow becomes blocked at the interactive prompt because the user cannot confirm the generated `Gemini.md` or proceed with the selected option.

### What did you expect to happen?

#### Expected Behavior

The interactive prompt should allow the user to select and confirm an option using the expected keyboard input.

#### Actual Behavior

The options can be navigated using the arrow keys, but no option can be selected or confirmed. `Spacebar`, `Enter`, and `Right Arrow` have no effect.

### Client information

* **CLI Version:** 0.55.1
* **Git Commit:** 41327e407
* **Session ID:** 2659ac63-74d6-4e45-a468-afe38df265bd
* **Operating System:** win32 v24.14.0
* **Sandbox Environment:** no sandbox
* **Model Version:** auto
* **Auth Type:** gemini-api-key
* **Memory Usage:** 221.4 MB
* **Terminal Name:** Unknown
* **Terminal Background:** #1e1f22
* **Kitty Keyboard Protocol:** Unsupported
* **IDE Client:** PyCharm 2026.2.1

### Login information

Free AI Studio API key

### Anything else we need to know?
After creating a new chat, then delete the empty Gemini.md and using the /init again, it allowed me to select and option and this time it worked withou a problem

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue through the /init command on the reported Windows setup, focusing on the interactive selection prompt after Gemini.md is created. Trace the prompt's keyboard handling and compare the inputs that navigate options with those intended to confirm them. Done means the generated file can be selected or confirmed and the /init workflow proceeds.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.