gemini-cli - 💡(How to fix) Fix back space will remove a word(in english) or a line(in chinese). [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#25951Fetched 2026-04-25 06:22:02
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                                       win32                                                                       │
Auth Method                              Signed in with Google (ganluo960214@gmail.com)Tier                                     Gemini Code Assist in Google One AI Pro# paste output here
RAW_BUFFERClick to expand / collapse

What happened?

input this is a bird. and input back space. bird removed. input 这是鸟. and input back space. 这是鸟 removed.

https://github.com/user-attachments/assets/5d981f8e-0ea2-4a81-806f-390a92f10951

What did you expect to happen?

input this is a bird. and input back space. d removed. input 这是鸟. and input back space. 鸟 removed.

Client information

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

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

> > /about
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄

╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                                      │
│ About Gemini CLI                                                                                                     │
│                                                                                                                      │
│ CLI Version                              0.39.1                                                                      │
│ Git Commit                               4d73f3413                                                                   │
│ Model                                    Auto (Gemini 3)                                                             │
│ Sandbox                                  no sandbox                                                                  │
│ OS                                       win32                                                                       │
│ Auth Method                              Signed in with Google ([email protected])                              │
│ Tier                                     Gemini Code Assist in Google One AI Pro                                     │
# paste output here
</details>

Login information

No response

Anything else we need to know?

No response

extent analysis

TL;DR

The issue might be related to incorrect handling of Unicode characters when backspacing, and a potential fix could involve adjusting the input processing logic to correctly handle Unicode characters.

Guidance

  • Review the input processing logic to ensure it correctly handles Unicode characters, particularly when backspacing.
  • Verify that the issue is reproducible with different Unicode characters and input sequences to understand the scope of the problem.
  • Check if there are any existing issues or discussions related to Unicode character handling in the Gemini CLI project.
  • Consider testing the Gemini CLI with different operating systems and environments to see if the issue is platform-specific.

Notes

The provided information does not include specific details about the code or implementation, so a more detailed analysis or fix cannot be provided.

Recommendation

Apply workaround: Adjust the input processing logic to correctly handle Unicode characters, as this seems to be the most likely cause of the issue.

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

gemini-cli - 💡(How to fix) Fix back space will remove a word(in english) or a line(in chinese). [1 participants]