Gemini CLI Generates Repetitive Output and UI Corruption During Session
What happened?
Description of the Bug I am encountering a significant issue with the Gemini CLI where the interface generates multiple, duplicate copies of the entire conversation history, including the welcome banner, prompts, and responses. This happens within a single active session, leading to a corrupted and confusing user interface that is difficult to use.
Steps to Reproduce The issue occurred during a standard interactive session:
- Launch the Gemini CLI (
gemini). - Start a conversation (in my case, I asked it to analyze a GitHub project).
- Ask a follow-up question.
- Ask another follow-up question.
- Observe the output after a few interactions.
Expected Behavior The CLI should display a clean, linear conversation. Each prompt and its corresponding response should appear only once.
Actual Behavior The CLI incorrectly re-renders the entire session's content, including the ASCII Gemini logo, the "Tips for getting started," and all previous user prompts and AI responses. This results in a long, duplicated log that makes the session unusable.
Evidence I have attached a screenshot and a text file that capture this behavior clearly.
- Screenshot:
Gemini CLI issue-2025-9-29-17-52 GMT+8txt.png(This image visually demonstrates the duplicated UI elements and text). - Text Log:
Gemini CLI issue-2025-9-29-17-52 GMT+8txt.txt(This file contains the full, repeated text output from the session).
Environment
- Operating System: Windows 11.
- Terminal Application: Windows Powershell
- Gemini CLI Version:
CLI Version 0.6.1
Git Commit f3078136
Model gemini-2.5-pro
Sandbox no sandbox
Thank your team members for your hard work on Gemini and for looking into this issue. If you need any forword info about this issue feel free to ask me!
Gemini CLI issue-2025-9-29-17-52 GMT+8txt.txt
What did you expect to happen?
as previous description.
Client information
- Operating System: Windows 11.
- Terminal Application: Windows Powershell
- Gemini CLI Version:
CLI Version 0.6.1
Git Commit f3078136
Model gemini-2.5-pro
Sandbox no sandbox
Login information
No response
Anything else we need to know?
No response
use 0.60
We recently overhauled our UX and that caused some regression like this. Check the latest version to see if it's already been addressed.
@Dreamistic - please re-open if you're still able to repro this in 0.8.1+
I got tired of waiting for an official fix for the duplicated ending sentences in Gemini CLI (especially noticeable when using voice output), so I built a lightweight Windows PowerShell workaround that filters out the duplicated text in real time and adds native neural voice output (English & Czech) with zero repetition.
Everything is free, clean, and ready to use here: 👉 https://github.com/Puskvorec/gemini-cli-voice-fix