[BUG] Terminal laggy scrolling and jumping with long history

Resolved 💬 4 comments Opened May 29, 2025 by PinkishCow Closed Jul 24, 2025

Environment

  • Platform (select one):
  • [x] Anthropic API
  • [ ] AWS Bedrock
  • [ ] Google Vertex AI
  • [ ] Other: <!-- specify -->
  • Claude CLI version: 1.0.5
  • Operating System: Ubuntu 24.04/WSL2/Windows 11
  • Terminal: VSCode integrated terminal, Windows Terminal

Bug Description

When there is a long terminal history, usually after quite a bit of work and a compaction or two terminal scrolling becomes incredibly slow, and claude has a tendency to cause the terminal to jump to top then scroll all the way back down slowly when presenting a diff with auto accept turned off.

Steps to Reproduce

  1. Do a bunch of work with auto accept either on or off
  2. Turn off auto accept when the terminal history is quite long
  3. Resize the terminal or have claude present a diff

Expected Behavior

The terminal to resize smoothly and/or present the diff normally.

Actual Behavior

The terminal jumps to the top of history then slowly jumps all the way back down.

Additional Context

It would be nice to have an option to clear the terminal while keeping the current context(Anyting post the previous compact), and/or the option for a compact to clear the terminal when running it.

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗