[BUG] Ubuntu/Gnome terminal screen flickering

Status Fixed / completed
Maintainer reply ✓ Yes — chrislloyd
Activity 8 comments · opened Dec 18, 2025 · closed Dec 18, 2025
💡 Likely answer: A maintainer (chrislloyd, collaborator) responded on this thread — see the highlighted reply below.

Preflight Checklist

  • [ ] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

This is a follow up from https://github.com/anthropics/claude-code/issues/769#issuecomment-3667690165

I still see flickering when Claude Code generates a lot of output: the view appears to jump repeatedly up to the beginning of the session and back to the bottom where Claude appends new output.

I'm on Ubuntu 24.04, with Gnome Terminal Version 3.52.0 for GNOME 46, a terminal emulator for the GNOME desktop, using VTE version 0.76.0 +BIDI +GNUTLS +ICU +SYSTEMD.

Here is the terminal size:

stty size
29 128

https://github.com/user-attachments/assets/cdae709e-bdcd-4dbe-8b42-de81e3b9d801

What Should Happen?

No flickering.

Error Messages/Logs

Steps to Reproduce

  1. Build this project

``
git clone https://github.com/marcindulak/stt-mcp-server-linux
cd stt-mcp-server-linux
bash scripts/build_docker_image.sh
``

  1. Start claude and ask it to run tests, twice

``
Run: bash scripts/test_unit.sh
Run: bash scripts/test_unit.sh
``

Claude Model

Not sure / Multiple models

Is this a regression?

No, this never worked

Last Working Version

_No response_

Claude Code Version

2.0.72

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

Other

Additional Information

_No response_

View original on GitHub ↗

8 Comments

github-actions[bot] · 8 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/1486
  2. https://github.com/anthropics/claude-code/issues/14140
  3. https://github.com/anthropics/claude-code/issues/769

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

chrislloyd collaborator · 8 months ago

@marcindulak it looks like your terminal is slightly too short and the bash output is rendering offscreen. Also Gnome Terminal uses VTE which doesn't have support yet for synchronized output commands. I suggest either making your terminal taller or using a terminal emulator like Ghostty which does support synchronized output commands.

marcindulak · 8 months ago

I can confirm that I see no flickering with Ghostty 1.2.3 on the above test case, with the same terminal and font size.

legel · 8 months ago

I'd love to try out Ghostty but they don't support Ubuntu 22.04 LTS...

@chrislloyd any other hacks you might recommend?

marcindulak · 8 months ago

To me it looks like ghostty is available on Ubuntu 22.04 (at least x86_64) as snap https://ghostty.org/docs/install/binary#snap, AppImage may also work.

<img width="750" height="172" alt="Image" src="https://github.com/user-attachments/assets/9a898f51-ea21-4768-b210-4f84303b2525" />

legel · 8 months ago

This worked!

Installed Ghostty on Ubuntu 22.04 via Snap.

Here's a cool screenshot with semi-transparent window, and otherwise default settings:
<img width="1161" height="829" alt="Image" src="https://github.com/user-attachments/assets/57778bbe-81b2-43d3-9971-9ff2b9943ebe" />

Thank you @marcindulak. Merry Christmas!

marcindulak · 8 months ago

Update: On 2025-12-27, I'm on 2.0.73 (Claude Code) with Ghostty 1.2.3, having in ~/.config/ghostty/config

window-width = 140
window-height = 35
font-size = 16
scrollback-limit = 1000000

and experience flickering during long conversations that generate large outputs.
On the other hand, the original test case of Run: bash scripts/test_unit.sh, run even ten times does not produce flickering.

It's unclear to me what got "reverted" https://github.com/anthropics/claude-code/issues/769#issuecomment-3688503436. I don't see a mention of this in CHANGELOG.md (but there are only 2.0.73, and 2.0.74 entries in CHANGELOG.md, and the lastest available Claude Code is 2.0.76).

Is reduction in flickering still active for Ghostty with 2.0.73, or is the change that improved flickering behind some feature flags that Anthropic reverted?

I don't know what to think about that, but since I experienced flickering with Ghostty, I'm asking @chrislloyd whether you could explain the current state of flickering on Ghostty on Ubuntu.

https://github.com/user-attachments/assets/782845c3-94f4-4918-a7fb-e798efd28669

github-actions[bot] · 7 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.