Gemini Terminal starts to flickering and duplicating output
Gemini Terminal starts to flickering and duplicating output
https://github.com/user-attachments/assets/1b0111ec-9e8a-40a8-9870-8fcbeb5ae91e
This error is only happening in vscode.
Hello! I also see some flickering in the terminal (Wezterm on Mac). So I don't think it's VSCode specific (although my flickering is less obvious than the opening post).
On Tue, 1 Jul 2025, 19:08 Jvr, @.***> wrote:
Jvr2022 left a comment (google-gemini/gemini-cli#2859) https://github.com/google-gemini/gemini-cli/issues/2859#issuecomment-3025040945
This error is only happening in vscode.
— Reply to this email directly, view it on GitHub https://github.com/google-gemini/gemini-cli/issues/2859#issuecomment-3025040945, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABPFVWAX2OP2U2ZORHMBPL3GLFB7AVCNFSM6AAAAACARSRFWWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTAMRVGA2DAOJUGU . You are receiving this because you are subscribed to this thread.Message ID: @.***>
I experienced this in iTerm2 on Mac so yeah not vs code specific as on vs code never had the issue so far
Same for me with alacritty/tmux/zsh
Same in ConEmu terminal on Windows.
Gemini info:
CLI Version 0.1.9 Git Commit 34935d6
To reproduce, it is enough to start ConEmu, run gemini, type /help Enter to fill the screen with some text and make the input field to be at the bottom of the screen, then type /, then any character, e.g. m. You can try to type /m, then remove m, then type m again, etc.
The screen is flickering very much after each typing (basically makes gemini almost unusable). I assume it is because the list of hints under the input field changes its size (/ matches 16 commands, while /m matches only 2), so the input field changes its position on the screen up and down. And for some reason this causes re-rendering of the new state and old state several times after each key press.
It is reproducible in the standard Windows terminal too, but is much less noticeable with it.
It happens in all the terminals I tested bash/cmd/zsh/powershell
I also see this happen in windows 11 cmd.exe/command prompt window very easy to re-produce:
- Re-Size Terminal Window
and/or
- Hold control key and use wheel mouse to zoom in and out...
I also reported this in another github issue, basically a duplicate, though yours is slightly different you report flickering, I have seen that too, and in my report I kinda also mention misalignment of ascii/ansi boxes:
https://github.com/google-gemini/gemini-cli/issues/4335
Duplicate of #4335
Found possible duplicate issues:
- #2623: (0.9084656238555908)
- #2428: (0.9082563519477844)
- #3653: (0.9052801998043124)
As soon as I somehow got used to the god of infinite scrolling, which is not fixed from version to version. In version 0.1.16 everything became even worse. Now in addition to everything, messages are constantly duplicated, merged, the cli freezes when pasting text from the buffer. In principle, working in this application has become completely impossible. In any terminal! Thank you!
The video only shows the part with window duplication. When working, the windows still merge + endless scrolling is still there. After some time, if the application does not freeze. You simply do not see where to enter text.
https://github.com/user-attachments/assets/048963e3-e0cb-4841-be03-54622e88dc02
Yes, it's unusable for me in VSCode on Linux
https://github.com/user-attachments/assets/dcb0e572-7b1e-48e6-9c98-edb0799dc232
Happens when Gemini "thinks" and scrolls and also when I try to select through options (like Allow once, Allow always on tool use)
Found possible duplicate issues:
- #2623
- #2428
- #6019
- #2732
- #3334
- #6410
- #7012
- #3431
- #3224
If you believe this is not a duplicate, please remove the status/possible-duplicate label.
Happens in Ghostty for me too.
+1
Hey!, is that bug resolved for you? @PierrunoYT
https://github.com/user-attachments/assets/a7ab9041-6d03-4591-8236-dabcd7461054
happens on webshells too , google cloud shell console even, lmao. gcloud cloud-shell gemini less so, but what you see here is infact the npm install -g @google/gemini-cli agent interface, inode, over chrome canary , with canary webview—which if you can believe it or not, is the best qualitative, least glitchy, between chrome , dev chrome and canary chrome
(Connected via Device Board: sdm845 Bootloader: G965U1UES9FVD1 Codename: REL Device Name: Samsung SM-G965U1 Hardware: qcom ID: QP1A.190711.020 Manufacture: samsung Model: SM-G965U1 Product: star2qlteue
System API Level: 29 Android: 10 Kernel: 4.9.186-22990479 Preview SDK: 0 Security Patch Level: 2022-03-01 VM Version: ART 2.1.0
CPU ABI: arm64-v8a CPU Freq: 4 x 2803MHz - 825MHz 4 x 1766MHz - 300MHz CPU cores: 8
Memory Low Ram device: false Ram: 5580 MB
Display Ratio: 37:18 (18.5:9) Resolution: 1080 x 2220 xdpi / ydpi: 398 / 397 dpi
Features Bluetooth: true GPS: true NFC: true )
+1
same in Cursor terminal
+1 in ZED on macos
same issue in windows terminal
Same Tabby