[BUG] Claude Code Terminal Refreshes / Sends me to the top of terminal session every 15 seconds

Resolved 💬 33 comments Opened May 30, 2025 by jean-moorman Closed Jan 10, 2026

Environment

  • Platform (select one):
  • Claude Max
  • Claude CLI version: 1.0.6 Claude Code
  • Operating System: Ubuntu 22.04
  • Terminal: WSL

Bug Description

The terminal display returns to the top of the claude code terminal history about every 15 seconds, even when I am currently looking / working on things actively at the bottom of the terminal history / session

Steps to Reproduce

  1. Use claude code
  2. Watch it bug out

Expected Behavior

I expected to not be returned to the top of the terminal history every 15 seconds

Actual Behavior

I am returned to the top of the claude code terminal history every 15 seconds

Additional Context

Might have something to do with my switching tabs as I notice it happens less when I stay working with claude code continously

View original on GitHub ↗

33 Comments

muchcharles · 1 year ago

Same here, WSL1 ubuntu 22 and windows terminal, very annoying. Only seems to happen when I'm partially scrolled and looking at diffs. Just started today.

chad-fossa · 1 year ago

Not WSL, but sometimes when the "refresh spam" happens to me, I can hit "ctrl+r" or even just the up-arrow, and then it stops. I can hit ctrl+r to exit the freeze-frame or hit "down" again as needed at that point.

raveinid · 1 year ago

Same see #826

rrebelo62 · 1 year ago

Same.
Ubuntu 24.04.2 on WSL

empz · 1 year ago

Same here on Ubuntu 22.04 WSL2

raidoh · 1 year ago

also got the issue on macos 15.5 (24F74) in iterm2 or ghostty

smythp · 1 year ago

Mative ubuntu 22 and get this issue.

muchcharles · 1 year ago

This is a really severe issue guys, it isn't the same problem as when it would rescroll the history and get slower and slower, it makes it so you can't read diffs. Anyone found a workaround (like running it inside tmux or something)?

Also, Claude code constantly flickers when it is updating progress etc, but that has been an issue longer.

serpent213 · 1 year ago

Fix needed! Seeing this on macOS 14.7 + Ghostty.

Resets my scroll position in the buffer, most annoying. Sometimes whole screen flickers (swaps content rapidly) for several seconds before it calms down, usually after long MCP responses (> 1 screen height).

strayer · 1 year ago
This is a really severe issue guys, it isn't the same problem as when it would rescroll the history and get slower and slower, it makes it so you can't read diffs. Anyone found a workaround (like running it inside tmux or something)? Also, Claude code constantly flickers when it is updating progress etc, but that has been an issue longer.

I've been running Claude Code in tmux because of this. The copy mode is essentially a "paused" view of the scrollback buffer, so the issue of jumping while trying to read diffs doesn't happen there. (mentioned here already: https://github.com/anthropics/claude-code/issues/826#issuecomment-2928038872)

Apparently this might be fixed by the recent update? Also mentioned in the other issue.

serpent213 · 1 year ago

Apparently, upgrading from 1.0.4 to 1.0.9 restored the former behaviour for me and made it usable again (occasional flicker).

marwan-tanager · 1 year ago

Same here with tmux/kitty - already reported a while back at https://github.com/anthropics/claude-code/issues/947 - this should be super high priority as it directly impacts the usability of the tool especially now that it's no longer in Research Preview beta mode as before!

TradeWithCash2025 · 1 year ago

Massive problem and makes the cpu run hot

muchcharles · 1 year ago

I haven't seen this happen lately fwiw. However, the terminal still flickers like crazy in the lower half while claude is working on stuff, so it seems it isn't handling terminal rewrites correctly. A huge block of text flickers even though only the spinner and token count is updating.

jean-moorman · 1 year ago

The scrollback issue still happens sometimes but not as bad as before

wjakob · 1 year ago

I have this issue too, on macOS/Kitty.

beshoy23 · 1 year ago

same here

Teewhydot · 1 year ago

Same here Ubuntu 22

ladderschool · 12 months ago

Same on Debian WSL2

dennislbc · 11 months ago

Happens on windows as well still

Victoraubague · 11 months ago

same here

nklsnkr · 11 months ago

happening to me in real ubuntu (popos) , not even WSL

ThoughtPhotography · 8 months ago

Happens _way_ too often.
Having the display bug out every time I type a letter or move the cursor makes it unusable.

Powershell, Win10-64,
v2.0.22

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.

smythp · 7 months ago

It's still an issue

Powerkrieger · 7 months ago

Jap, sadly this still happens. Cant read diffs. Annoying.

Claude Code v2.0.64, Ubuntu 24.04LTS

stumitchell · 7 months ago

I get this too and it really breaks the vscode terminal

github-actions[bot] · 6 months ago

This issue has been automatically closed due to 60 days of inactivity. If you're still experiencing this issue, please open a new issue with updated information.

empz · 6 months ago

Still happens, should not be closed...

marwan-tanager · 6 months ago

Still happens for me. It was never fixed to this day and is still
super annoying…

On Sat, 10 Jan 2026 at 12:49 PM Emiliano Parizzi @.***>
wrote:

empz left a comment (anthropics/claude-code#1426) <https://github.com/anthropics/claude-code/issues/1426#issuecomment-3732408671> Still happens, should not be closed... — Reply to this email directly, view it on GitHub <https://github.com/anthropics/claude-code/issues/1426#issuecomment-3732408671>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAKC5XOPZ6VSNQSVXLXHJ734GDKMPAVCNFSM6AAAAAB6HALE7KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTOMZSGQYDQNRXGE> . You are receiving this because you commented.Message ID: @.***>
Victoraubague · 6 months ago

+1

Goury · 6 months ago

The hell is this not planned?
@claude fix this crap.

github-actions[bot] · 5 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.