[BUG] compacting clears terminal scrollback

Resolved 💬 5 comments Opened Mar 10, 2026 by bartassw Closed Apr 16, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

compacting clears terminal scrollback - i cant see, what was in the terminal before convesation auto compactin

What Should Happen?

compact and dont clear termin window

Error Messages/Logs

Steps to Reproduce

autocompacting

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

Claude Code v2.1.72

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

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