[BUG] Terminal output is reprinted repeatedly

Resolved 💬 5 comments Opened Apr 16, 2025 by hugodutka Closed Apr 16, 2025

Environment

  • Platform (select one):
  • [x] Anthropic API
  • [ ] AWS Bedrock
  • [ ] Google Vertex AI
  • [ ] Other: <!-- specify -->
  • Claude CLI version: 0.2.70 (Claude Code)
  • Operating System: macOS 15.1
  • Terminal: both iTerm2 and integrated Cursor terminal

Bug Description

When Claude Code updates the terminal screen it doesn't clear the previous output. It only prints the new output below it.

Steps to Reproduce

Give a task to Claude Code and scroll up in the terminal.

Expected Behavior

I'd expect the previous output to be cleared like it was in previous Claude Code versions.

Actual Behavior

https://github.com/user-attachments/assets/6f7f8e2b-ddf5-431d-9988-caa7e506c339

View original on GitHub ↗

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