gemini-cli - 💡(How to fix) Fix Display/Scrolling glitch when inputting Thai character "สระอำ" (Sara Am, U+0E33) [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#26495Fetched 2026-05-06 06:36:10
View on GitHub
Comments
1
Participants
2
Timeline
2
Reactions
0
Author
Timeline (top)
commented ×1labeled ×1

Code Example

CLI Version                0.40.1Git Commit                 7a382e066                                         │
Model                      gemini-3-flash-preview                            │
Sandbox                    no sandbox                                        │
OS                         linux                                             │
Auth Method                Signed in with GoogleTier                       Gemini Code Assist for individuals
RAW_BUFFERClick to expand / collapse

What happened?

Title: Display/Scrolling glitch when inputting Thai character "สระอำ" (Sara Am, U+0E33)

Description: A terminal display glitch occurs when inputting the Thai character "สระอำ" (Sara Am, U+0E33). The issue causes the screen to scroll up or display incorrectly.

Steps to Reproduce:

  1. Open Gemini CLI.
  2. Input text containing "สระอำ" (Sara Am). This can be triggered via:
    • Typing: Switch to the Thai keyboard layout and type a word containing the character, such as "ทำไม", or repeat the character like "ำำำำำำำำำำ" (the character is mapped to the lowercase 'e' key). Note: Typing a single "ำ" in isolation does not always trigger the bug, but natural usage or repeating it does.
    • Pasting: Copy and paste text containing "สระอำ" directly into the CLI.
  3. Observe the terminal display.

Actual Behavior: The CLI interface glitches, and the screen is pushed up or displays incorrectly.

Expected Behavior: The CLI should accept and display the Thai character "สระอำ" (Sara Am) correctly, whether typed or pasted, without disrupting the terminal layout or causing the screen to scroll up.

https://github.com/user-attachments/assets/4296c475-e45e-400d-931f-ef974e1c9d21

Client information

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

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

│ CLI Version                0.40.1                                            │
│ Git Commit                 7a382e066                                         │
│ Model                      gemini-3-flash-preview                            │
│ Sandbox                    no sandbox                                        │
│ OS                         linux                                             │
│ Auth Method                Signed in with Google                             │
│ Tier                       Gemini Code Assist for individuals
</details>

System Information:

  • Gemini CLI Version: 0.40.1
  • Operating System: Linux Mint 22.3 (Zena)
  • Kernel: 6.8.0-111-generic (x86_64)
  • CPU: AMD Ryzen 7 5700U with Radeon Graphics
  • GPU: AMD/ATI Lucienne (Integrated Graphics)
  • Shell: bash version 5.2.21(1)
  • Terminal Emulator: GNOME Terminal
  • Terminal Environment:
    • TERM: xterm-256color
    • COLORTERM: truecolor

extent analysis

TL;DR

The display glitch when inputting the Thai character "สระอำ" (Sara Am, U+0E33) in the Gemini CLI may be resolved by updating the terminal emulator settings or the Gemini CLI version.

Guidance

  • Verify that the issue persists across different terminal emulators to determine if the problem is specific to GNOME Terminal.
  • Check the Gemini CLI documentation for any known issues or updates related to Unicode character support, particularly for the Thai language.
  • Test the input of other Unicode characters to see if the issue is specific to "สระอำ" (Sara Am, U+0E33) or a broader problem with Unicode support.
  • Consider reporting the issue to the Gemini CLI developers with detailed steps to reproduce and system information for further assistance.

Example

No specific code snippet is applicable in this case, as the issue appears to be related to the interaction between the Gemini CLI, terminal emulator, and Unicode character rendering.

Notes

The solution may depend on the specific version of the Gemini CLI and terminal emulator being used, as well as the system's configuration for handling Unicode characters.

Recommendation

Apply workaround: The user may need to use a different terminal emulator or update their Gemini CLI version to one that has improved Unicode support, if available, to mitigate 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 Display/Scrolling glitch when inputting Thai character "สระอำ" (Sara Am, U+0E33) [1 comments, 2 participants]