Terminal output pushes scroll position during generation — cannot select/copy/read previous output

Status Fixed / completed
Maintainer reply None cached
Activity 4 comments · opened Mar 17, 2026 · closed Mar 17, 2026

Description

During active generation (thinking, typing, or even the "deliberating" status indicator), terminal output causes the viewport to jump to the TOP of the scrollback buffer. This makes it impossible to:

  1. Select text from previous output (viewport jumps to top mid-selection)
  2. Copy commands that Claude outputs (the content you are trying to select disappears)
  3. Read important information that was just displayed (yanked to the top of the terminal history)

Any new output — even a single status line — causes the viewport to snap to the very top of the scrollback, not the bottom. The user is forcibly teleported thousands of lines away from what they were reading.

Environment

  • Terminal: iTerm2 on macOS
  • Claude Code: latest
  • Account: Max (Pro/Max tier)

Impact

  • Unusable for ops work where Claude outputs commands to run on remote machines
  • Cannot read Claude's own responses — viewport jumps to top before you finish reading
  • Forces the user to scroll back down after every single output event
  • Especially bad during long multi-step operations where status updates keep firing

Comparison

Other CLI AI tools (competitors) do NOT have this issue in the same terminal. The scroll position is preserved when the user is reading previous output. This is standard terminal behavior.

Expected Behavior

  • If the user is reading previous output, new output should NOT move the viewport
  • Only auto-scroll when the user is already at the current output position
  • Allow text selection to complete without interruption

Workaround

None currently. The web interface actually handles this better (has copy buttons on code blocks), which is ironic for a CLI tool.

View original on GitHub ↗

4 Comments

Gerk · 7 months ago

Adding context from the affected user: This is a show-stopper issue. If it doesn't get fixed, they will cancel their Max subscription at end of billing cycle and move to a competing product that doesn't have this problem. The terminal scroll behavior is the single biggest usability issue with Claude Code right now.

github-actions[bot] · 7 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/34845
  2. https://github.com/anthropics/claude-code/issues/33367
  3. https://github.com/anthropics/claude-code/issues/34673

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

Gerk · 7 months ago

Duplicate of #33814

github-actions[bot] · 6 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.