Terminal scrolls to top on every new output in certain sessions

Resolved 💬 13 comments Opened Mar 15, 2026 by bwoody77 Closed Apr 18, 2026

Context

In certain Claude Code sessions, the terminal viewport scrolls to the very top of the screen every time Claude produces additional output. This makes it difficult to follow the conversation as the user must constantly scroll back down to see the latest output.

Acceptance Criteria

  • Sessions no longer auto-scroll to the top when new output is rendered
  • Terminal viewport stays pinned to the bottom (latest output) as content is appended
  • Fix applies across common terminal emulators on Windows (Windows Terminal, etc.)

Implementation Notes

  • Bug appears to be session-specific — not all sessions exhibit the behavior
  • Reported on Windows 11 (10.0.26200)
  • Root cause may relate to how terminal escape sequences or cursor positioning are handled during streaming output

View original on GitHub ↗

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