claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[BUG] Uninterruptible "high speed scrolling" of Claude Code terminal in IntelJIdea

Open walt93 opened this issue 6 months ago • 18 comments

Environment

  • Platform (select one):
    • [ ] Anthropic API
    • [ ] AWS Bedrock
    • [ ] Google Vertex AI
    • [ ] Other:
  • Claude CLI version: 1.0.6 (Claude Code)
  • Operating System: macOS 15.3,
  • Terminal: IntelJIdea Build #IU-231.8770.65

Bug Description

Context was probably >50% full, I issued a command to Claude code and the terminal started scrolling at high speed. Grabbing the thumb, and moving it about did not stop the scrolling, nor did any keyboard keys ESC RETURN CTRL-C repeatedly hit.. The spinner indicating a terminal tool was running never stopped, and after more than 2 minutes I shut down the IDE. Obviously it cannot scroll infinitely, but it was moving at GPU accelerated speeds and I could not make heads nor tails of what it was doing.

Steps to Reproduce

  1. Use Claude code until
  2. ???

Expected Behavior

Not that.

Actual Behavior

Not seen before.

Additional Context

I got nothing.

walt93 avatar May 30 '25 00:05 walt93

yup noticing the same thing . Sometimes it get's stuck when scrolling, especially upwards.

misterdojo777 avatar May 30 '25 17:05 misterdojo777

Running Claude 4 in Claude Code through WSL in Windows 11. Worked great all day, but then started endlessly yoyo scrolling for the past 30 minutes. Only thing that would stop is was closing the window, so not an IDE problem, but a Claude Code issue.

DeJarnett avatar May 31 '25 02:05 DeJarnett

Same problem. I was hoping to find some setting to clear buffer or stop the scrolling.

meeksapplied avatar May 31 '25 03:05 meeksapplied

same problem, claude code scrolling super fast strangely

authmane512 avatar Jun 01 '25 18:06 authmane512

I'd be glad to even just figure out what triggers this (if anything) so I could avoid it.

DeJarnett avatar Jun 02 '25 16:06 DeJarnett

I've faced this as well. At least on mac, if I press esc a couple of times, it will get out of this madness 😄 And then i just tell it to "carry on" and it will usually resume

elleklinton avatar Jun 02 '25 23:06 elleklinton

Same problem only thing I can do is esc and say continue, sometimes I have to control-c or control-z to break it and reopen. This is on Ubuntu LTS

https://github.com/user-attachments/assets/35f67121-65fc-4fe8-a7b8-7f1f14b6a606

scrapebros avatar Jun 08 '25 00:06 scrapebros

Same problem here, it's really annoying. Running it on a Mac.

bumasoft avatar Jun 17 '25 10:06 bumasoft

Running into the same problem every few prompts - Mac - Cursor terminal

brycelund avatar Jun 20 '25 04:06 brycelund

Same issue here, VSCode, WSL on Windows

athuler avatar Jun 22 '25 22:06 athuler

I've been having this bug since forever.

Best way to reproduce:

  • Get over 50% context
  • Spawn 9 parallel tasks
  • Each of them should ask for modification approvals and commands approvals from time to time

The whole terminal will break, in fact it will crash most terminals completely if not stopped in time.

OpenSource03 avatar Jun 27 '25 03:06 OpenSource03

https://github.com/user-attachments/assets/08aae3ec-a035-4f7b-8eac-e60645de0c76

I am experiencing this bug as well. I am running 10 sub agents, modification approvals as well, very similar to OpenSource03

I am using windsurf, claude code is usually buggy on any terminal I am on but it has never been this bad.

It's completely unusable, I just bought the max plan a couple of days ago and I am considering asking for a refund. What's the point of buying claude max if it is so clearly not supportive of my OS or any of the software I use?? Ridiculous.

blakedemarest avatar Jun 27 '25 18:06 blakedemarest

https://github.com/user-attachments/assets/08aae3ec-a035-4f7b-8eac-e60645de0c76

I am experiencing this bug as well. I am running 10 sub agents, modification approvals as well, very similar to OpenSource03

I am using windsurf, claude code is usually buggy on any terminal I am on but it has never been this bad.

It's completely unusable, I just bought the max plan a couple of days ago and I am considering asking for a refund. What's the point of buying claude max if it is so clearly not supportive of my OS or any of the software I use?? Ridiculous.

Yours is quite slow, mine does enter hyper speed from time to time 😂

OpenSource03 avatar Jun 27 '25 18:06 OpenSource03

https://github.com/user-attachments/assets/08aae3ec-a035-4f7b-8eac-e60645de0c76

I am experiencing this bug as well. I am running 10 sub agents, modification approvals as well, very similar to OpenSource03

I am using windsurf, claude code is usually buggy on any terminal I am on but it has never been this bad.

It's completely unusable, I just bought the max plan a couple of days ago and I am considering asking for a refund. What's the point of buying claude max if it is so clearly not supportive of my OS or any of the software I use?? Ridiculous.

Yours is quite slow, mine does enter hyper speed from time to time 😂

I know exactly what you mean :( the only reason mine was slow was because I wasn't running any tasks, but the hyper speed is definitely a problem lmao

blakedemarest avatar Jun 29 '25 20:06 blakedemarest

WINDOWS USERS: as far as I can tell, one of the big reasons this terminal error occurs has to do with having too many subagents deployed. after reducing the amount of subagents from 7-10 to 3-5 at any given moment, the terminal is far less glitchy.

blakedemarest avatar Jun 30 '25 14:06 blakedemarest

WINDOWS USERS: as far as I can tell, one of the big reasons this terminal error occurs has to do with having too many subagents deployed. after reducing the amount of subagents from 7-10 to 3-5 at any given moment, the terminal is far less glitchy.

It may still very well happen with no agents at all sometimes, much more rare tho.

OpenSource03 avatar Jun 30 '25 17:06 OpenSource03

I'm experiencing the same issue on macOS with every terminal I've tried.

solmidnight avatar Jul 01 '25 00:07 solmidnight

It's time to try the other CLI tools. No one at Anthropic seems to care about this tool. 😔 On Jun 30, 2025, at 5:11 PM, Sol Midnight @.***> wrote:solmidnight left a comment (anthropics/claude-code#1422) I'm experiencing the same issue on macOS with every terminal I've tried.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

walt93 avatar Jul 01 '25 01:07 walt93

I have to get my moneys worth. I paid 200 dollars. You think I should chargeback?

solmidnight avatar Jul 01 '25 05:07 solmidnight

Why isn't anyone at Anthropic responding to this?

mrconway avatar Jul 11 '25 19:07 mrconway

I'm consistently getting this error as well - non-stop terminal scrolling and nothing apparent to stop sometimes without ending the terminal session. Anecdotally, it seems to occur after I have pasted text at some point in the terminal, but will need to do more testing to confirm.

FLpilot avatar Jul 11 '25 20:07 FLpilot

Paste seems to be one way to trigger, the longer the paste the greater the thrashing. Seems like each character in the buffer jumps it to the top and it has to scroll back. So you have to sit there for several minutes or hit CTRL-C and lose work. It's a P0 bug and apparently no one at anthropic either cares or is clever enough to fix it. -Poke- -come on team, do better-Sent from a mobile device.On Jul 11, 2025, at 1:20 PM, FLpilot @.***> wrote:FLpilot left a comment (anthropics/claude-code#1422) I'm consistently getting this error as well - non-stop terminal scrolling and nothing apparent to stop sometimes without ending the terminal session. Anecdotally, it seems to occur after I have pasted text in the terminal, but will need to do more testing to confirm.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

walt93 avatar Jul 11 '25 23:07 walt93

Happens to me too, the longer the chat window goes, the more likely it is to happen. And yes, you can't recover it. So I lose all the latest prompts, so I can't even easily restart a new window. I have to start from scratch totally, which is sad

TZNewman avatar Jul 16 '25 10:07 TZNewman

This affects me too, but I find the feature disorienting even when it's working as it's supposed to. Does it look terrible if you just let the terminal handle scrolling content on its own? I'm using a modern GPU-powered terminal (Ghostty); I'd be shocked if it didn't do a far better, smoother job than a Node.js app running inside it.

raoulmillais avatar Jul 20 '25 19:07 raoulmillais

This happens in Visual Studio 2022 17.14.9 as well

robertmclaws avatar Jul 20 '25 22:07 robertmclaws

I have the same in Cursor.

bengerson avatar Jul 22 '25 10:07 bengerson

same thing in jetbrains ides.

russellboley-uipath avatar Jul 24 '25 02:07 russellboley-uipath

seeing this when running npm unit tests in subtasks, when the tests produce significant error/warning logs.

if i let it continue to run, eventually the tests complete and the issue stops.

jpke avatar Jul 24 '25 11:07 jpke

Same here, apparently this is going on for months now. Happens when the context grows beyond a certain length. Might have something to do with copy-pasting in the prompt.

@bcherny, this is negative vibe for your otherwise brilliant app. Can nothing be done?

Note that this happens on wsl and on another server with ubuntu 24.04

verhoeff-eza avatar Jul 24 '25 17:07 verhoeff-eza

I run into this issue frequently in WSL but I have found a workaround there, which is: ctrl-c ctrl-c to exit claude clear to clear terminal scrollback (note NOT claude's /clear) then claude --resume to pick up where you left off, but without the crazy scrolling (for a little while anyway)

nateroe avatar Jul 24 '25 20:07 nateroe