Skip to content

Terminal keeps scrolling to top when conversation gets long #36582

@octoduchilli

Description

@octoduchilli

Bug Description

When the conversation feed becomes long enough, the terminal constantly scrolls back to the top automatically. This makes it very difficult to follow the current output and interact with the tool.

Expected Behavior

The terminal should stay scrolled to the bottom (following the latest output), as is standard behavior for CLI tools with streaming output.

Actual Behavior

The terminal repeatedly jumps/scrolls back to the top of the feed, interrupting the user's reading flow. This becomes increasingly frequent and disruptive as the conversation grows longer.

Steps to Reproduce

  1. Start a Claude Code session
  2. Have a conversation long enough that it exceeds the terminal viewport height significantly
  3. Observe the terminal scrolling back to top unexpectedly

Environment

  • OS: macOS (Darwin 25.3.0)
  • Shell: zsh
  • Claude Code: latest version

Impact

This is a significant UX issue — it makes longer sessions nearly unusable as the user has to constantly scroll back down to see the current output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:tuibugSomething isn't workingduplicateThis issue or pull request already existsplatform:macosIssue specifically occurs on macOS

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions