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

Pending Response Gets Cancelled If I Enter The Shell Mode And Press `esc` To Exit It.

Open HackerX7889 opened this issue 2 weeks ago • 0 comments

What happened?

When I entered a query and Gemini was processing it's response, I pressed ! to enter shell mode. Then to exit the shell mode, I pressed esc as the CLI says to exit the shell mode.

But when I pressed esc while the response was still pending, the response got cancelled and I was out of shell mode.

What did you expect to happen?

When I press esc to exit the shell mode and the response was still pending, the response should not have got cancelled.

Client information

Client Information

Run gemini to enter the interactive CLI, then run the /about command.

> /about
│ About Gemini CLI                                                                                                                                               │
│                                                                                                                                                                │
│ CLI Version                                            0.20.0                                                                                                  │
│ Git Commit                                             d0ce3c4c5                                                                                               │
│ Model                                                  auto                                                                                                    │
│ Sandbox                                                no sandbox                                                                                              │
│ OS                                                     linux                                                                                                   │
│ Auth Method                                            OAuth                                                                                                   │

Login information

I logged in via OAuth from my Google Account.

Anything else we need to know?

No response

HackerX7889 avatar Dec 12 '25 11:12 HackerX7889