[BUG] Screen scrollback does not work on iTerm2

Status Open
Maintainer reply None cached
Activity 0 comments · opened Jul 17, 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?

When using iTerm2 (ssh to Linux) on Mac, clause session has problem when doing screen scrollback. This appears to be a recent issue as sometimes ago, this worked fine.

What Should Happen?

Screen scrollback shall work.

Error Messages/Logs

Steps to Reproduce

iTerm2 on Mac
ssh to Linux and run claude on Linux
screen scrollback works sporadically.

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

v2.1.212

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗