[BUG] rendering glitching on refreshing - suspected TMUX or multiple rapid resolution changes and Claude Code TUI rendering not updating resolution properly

Open 💬 18 comments Opened Jun 2, 2025 by gwpl

Environment

  • Platform (select one):
  • [x] Anthropic API
  • Claude CLI version: 1.0.6 (Claude Code) <!-- output of claude --version -->
  • Operating System: Linux (ArchLinux, Ubuntu, NixOS)
  • Terminal: variety of terminals... all thought TMUX multiplexer

Bug Description

  • When cluade printing/changing output sometimes (issue is flaky) it's "glitching" like whole long pager rolling up and down...

Suspected is that , as I reattach tmux client between different terminals of different sizes, I resize tmux panels etc... that maybe sometimes I hit "wrong moment" and part of claude rendering logic is not updated about new smaller terminal size, while other parts of claude rednering logic is updated... as it is using dependencies, it maybe down TUI rendering stack....

Recommended action:

enforce updating terminal size on regular basis when rendering in claude code itself and push down to dependencies to do the same...

Steps to Reproduce

Flaky,
suspected that changing terminal size in wrong moment may be not noticed by claude scrwing it's terminal refershing ?

Expected Behavior

rendering working flawlessly regardless how often I change terminal size (which maybe rapid if tmux client is attached in multiple windows/computers, and depending which I touch, it becomes "tmux active" and tmux will rapidly resize to one I am on....)

Additional Context

Already provided in ticket earlier: rapid terminal resigin, multiple tmux clients attached to terminal running claude code.

View original on GitHub ↗

18 Comments

rushiagr · 1 year ago

similar situation. i have tmux and a horizontal split (i.e. top half and bottom half), and i use claude-code in top half. when i work with claude-code, i zoom the top-half to become full screen, but when i un-zoom it, to perform some cli operations in the bottom half, the top half i.e. claude-code area zooms as if it's scrolling full length. the more i work with claude-code, the more lines that top-half session has, and the more scrolling this does. i have m4 max mac, and this sometimes takes upwards of 5+ seconds

legokichi · 1 year ago

i have same problem in gnu screen.

OAGr · 12 months ago

Same. M1 Macbook Pro, Tmux. Often the issue goes away for me after a few seconds, but sometimes it can last longer. This might be just because it needs to wait for Claude Code to finish, it's hard for me to tell. But it's definitely confusing and a significant pain.

mandofever78 · 11 months ago

Same here on Intel MBP, Fish, ghostty, tmux. Zooming into a glitching pane sometimes fixes it but the behavior returns when zooming back out.

TheSmilez · 11 months ago

Trying to figure out what's the point of these reports if they're just going to close them and not mention if they're even working on a potential fix.

gwpl · 11 months ago

ping so bot won't close it, as it still happens

diggerdu · 10 months ago

still happens

diggerdu · 10 months ago

Found a ugly workaround: claude code in zellij do not have this issue. So I run claude code inside zellij inside tmux.

lrosasarias05 · 10 months ago

same

nothans · 9 months ago

I am experiencing this issue in VS Code with Claude Code running in a terminal.

armoucar · 8 months ago

I use tmux vertical panes in combination with zoom. Sometimes I run 5 of them and each of them, when not zoomed, get just a small width space. For me it's ok, because I can toggle zoom pretty quickly. But if claude code is running in a collapsed pane, when I zoom in that pane, the text lines dont expand together with the pane size. Examples in the images:

<img width="1440" height="874" alt="Image" src="https://github.com/user-attachments/assets/d13d23c5-d9cb-4a54-8cee-bc4bdb6f3a43" />

<img width="1440" height="874" alt="Image" src="https://github.com/user-attachments/assets/0ddc5d07-32ce-4534-b85a-634e3e1b635d" />

sp98 · 8 months ago

Just installed claude and ran into this. Only happens on the extended monitor setup and on the main screen.

github-actions[bot] · 7 months ago

This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.

jstoks · 7 months ago

This issue is still a problem in many different environments. It shouldn't auto close.

muhammadalkady · 7 months ago

Facing the same issue

TheKelvinPerez · 6 months ago

Yeah same issue i was using zellij and didn't face this problem

mjenkinsx9 · 5 months ago

You can see some of the issue below that I copy/pasted from VS Code.

### Environment 5 C • 3 P • 🗃️ 6 u a 6m o $ . 2 m ⧉ 1

  • Claude Code: 2.1.12
  • OS: Ubuntu Linux 6.8.0-90-generic (x86_64)
  • Terminal: VS Code integrated terminal
  • TERM: xterm-256color
  • COLORTERM: truecolor
  • Terminal size: 80x24
  • tmux: Not active (tmux 3.4 installed)

### Issue

Status bar elements (model indicator, token counts, icons) intermittently render inside the main output area, overlapping with tool call results. Example:

● Read(.claude/data/meetings/work/recurring/dc-ops/2026-01-05.md)
⎿ Read 142 lines 5 C • 3 P • 🗃️ 6 u a m o $ .

The status bar content (5 C • 3 P • 🗃️...) appears inline with the tool output.

### Reproduction

  • Occurs during rapid sequential tool calls (multiple file reads)
  • More frequent with longer outputs

### Notes

Running in VS Code integrated terminal, not tmux. Issue persists across sessions, even sessions on other machines using the same setup.

mjenkinsx9 · 5 months ago
You can see some of the issue below that I copy/pasted from VS Code. ### Environment 5 C • 3 P • 🗃️ 6 u a 6m o $ . 2 m ⧉ 1 Claude Code: 2.1.12 OS: Ubuntu Linux 6.8.0-90-generic (x86_64) Terminal: VS Code integrated terminal TERM: xterm-256color COLORTERM: truecolor Terminal size: 80x24 tmux: Not active (tmux 3.4 installed) ### Issue Status bar elements (model indicator, token counts, icons) intermittently render inside the main output area, overlapping with tool call results. Example: ● Read(.claude/data/meetings/work/recurring/dc-ops/2026-01-05.md) ⎿ Read 142 lines 5 C • 3 P • 🗃️ 6 u a m o $ . The status bar content (5 C • 3 P • 🗃️...) appears inline with the tool output. ### Reproduction Occurs during rapid sequential tool calls (multiple file reads) * More frequent with longer outputs ### Notes Running in VS Code integrated terminal, not tmux. Issue persists across sessions, even sessions on other machines using the same setup.

My issues seem to be fixed in the latest verion