gemini-cli - 💡(How to fix) Fix Copy Mode does't seem to let me copy the prompt - only any output [1 comments, 2 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#25532Fetched 2026-04-17 08:55:38
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
0
Author
Timeline (top)
labeled ×3commented ×1

Code Example

> /about
CLI Version                                     0.37.1Git Commit                                      3b2d4f100                                                                                 │ 
Model                                           gemini-3-flash-preview                                                                    │ 
Sandbox                                         no sandbox                                                                                │ 
OS                                              linux                                                                                     │ 
Auth Method                                     Signed in with Google (ksprashanth82@gmail.com)Tier                                            Gemini Code AssistGCP Project                                     cloudshell-gca                                                                            │ 
IDE Client                                      Cloud Shell
RAW_BUFFERClick to expand / collapse

What happened?

I typed in a prompt and I want to copy it. I enter copy mode with ctrl+s. As soon as I do that, it scrolls to the output / empty space. When I scroll back, I am taken out of the copy mode. Net effect - I am unable to copy the prompt.

https://github.com/user-attachments/assets/60fa8e08-5017-4a50-bc3b-efb45bac1373

What did you expect to happen?

I want to be able to select and copy the prompt text.

Client information

<details> <summary>Client Information</summary>

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

> /about
│ CLI Version                                     0.37.1                                                                                    │ 
│ Git Commit                                      3b2d4f100                                                                                 │ 
│ Model                                           gemini-3-flash-preview                                                                    │ 
│ Sandbox                                         no sandbox                                                                                │ 
│ OS                                              linux                                                                                     │ 
│ Auth Method                                     Signed in with Google ([email protected])                                           │ 
│ Tier                                            Gemini Code Assist                                                                        │ 
│ GCP Project                                     cloudshell-gca                                                                            │ 
│ IDE Client                                      Cloud Shell   ```

</details>

### Login information

_No response_

### Anything else we need to know?

_No response_

extent analysis

TL;DR

The issue can be potentially resolved by adjusting the behavior of the copy mode to prevent scrolling to the output or empty space.

Guidance

  • Investigate the copy mode implementation to see if there's an option to disable or adjust the auto-scrolling behavior when entering copy mode.
  • Check if there are any existing configuration options or settings that can be modified to achieve the desired behavior.
  • Consider filing a feature request or bug report to the developers of the CLI tool to address this issue.
  • As a temporary workaround, try selecting and copying the prompt text before entering copy mode, if possible.

Example

No code snippet is provided as the issue does not contain sufficient information about the underlying implementation.

Notes

The provided information suggests that this issue is specific to the gemini CLI tool, and the solution may depend on the tool's internal implementation. Further investigation and debugging may be required to determine the root cause and develop a permanent fix.

Recommendation

Apply workaround: The current workaround of selecting and copying the prompt text before entering copy mode may be the most practical solution until a permanent fix is available.

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