gemini-cli icon indicating copy to clipboard operation
gemini-cli copied to clipboard

When VS Code's terminal window is narrow, updates are rendered as a stream

Open miguelsolorio opened this issue 5 months ago • 3 comments

What happened?

  1. Open VS Code
  2. Make terminal window narrow
  3. Interact w/ CLI
  4. 🐛 Updates are added as a stream instead of being replaced

https://github.com/user-attachments/assets/670776c3-e11a-4e81-a682-d992cbd0f3aa

What did you expect to happen?

Updates are replaced properly

Client information

Client Information

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

> /about
# paste output here

Login information

No response

Anything else we need to know?

No response

miguelsolorio avatar Sep 05 '25 17:09 miguelsolorio

The issue describes a visual rendering bug where UI updates stream instead of replacing content in a narrow terminal, which falls under 'area/ux' and 'kind/bug'. The priority is P2 as it's a noticeable but not-blocking UX issue. The 'status/need-information' label is added because the client information from the '/about' command is missing, which is essential for reproducing the issue. Please provide the output of the /about command.

gemini-cli[bot] avatar Sep 05 '25 17:09 gemini-cli[bot]

Here are the steps I used to reproduce the issue:

  1. Use the mouse to drag the VS Code terminal panel boundary, gradually reducing the width to less than 80 columns (e.g., 70-75 columns).
  2. You can verify the current width at any time using tput cols (the returned value should be < 80).
  3. The issue is most likely to occur when this "wide → narrow" transition happens during streaming updates: when the loading indicator switches from single-line layout to multi-line layout, old frames are not properly cleared, causing the "witty messages" or timer lines to continuously append, creating a "log stream accumulation" effect.

lifefloating avatar Sep 08 '25 08:09 lifefloating

Image

lifefloating avatar Sep 08 '25 09:09 lifefloating

Hello! As part of our effort to keep our backlog manageable and focus on the most active issues, we are tidying up older reports.

It looks like this issue hasn't been active for a while, so we are closing it for now. However, if you are still experiencing this bug on the latest stable build, please feel free to comment on this issue or create a new one with updated details.

Thank you for your contribution!

gemini-cli[bot] avatar Dec 14 '25 00:12 gemini-cli[bot]