Skip to content

Scroll position jumps to top during streaming output on Windows Terminal #36621

Closed as duplicate

Description

@NKM4

Description

While Claude Code is streaming a response, if you scroll up using the mouse wheel, the scroll position frequently jumps back to the very top of the terminal. This makes it impossible to review earlier parts of the conversation during generation.

Reproduction steps

  1. Use Claude Code in Windows Terminal until the conversation is long enough to scroll
  2. Ask a question that produces a long streaming response
  3. While the response is being generated, scroll up with the mouse wheel
  4. The viewport jumps to the very top of the terminal buffer

Key observations

  • Only happens during streaming — once generation completes and the input prompt appears, scrolling works normally
  • Likely related to cursor repositioning / ANSI escape sequences used for spinner or status line updates during streaming, which interfere with Windows Terminal's scroll position

Environment

  • Claude Code: 2.1.80
  • OS: Windows 11 Pro (10.0.26200)
  • Terminal: Windows Terminal
  • Shell: bash (Git Bash)

🤖 Generated with Claude Code

Activity

  1. github-actions commented on Mar 20, 2026

    @github-actions

    Found 3 possible duplicate issues:

    1. [BUG] Terminal scrolls to top during agent execution (Windows Terminal + PowerShell) #34794
    2. Root cause + fix for scroll jumping on long responses (CSI 2J inside DEC 2026 sync blocks) #35580
    3. Terminal scrolls to top on every new output in certain sessions #34503

    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

  2. nullbio commented on Mar 21, 2026

    @nullbio
  3. lesliewangwyc-dev commented on Apr 6, 2026

    @lesliewangwyc-dev

    I experienced the same issue and have an additional observation: the scroll jump also happens outside of streaming output. In my case, simply scrolling up in a long conversation (mouse wheel or dragging the scrollbar) can trigger the jump to top, even when Claude is not actively generating a response.

    Environment: Windows 11 Home China (10.0.26200), Windows Terminal, Git Bash, Claude Code 2.1.92

    Original issue: #44087 (closed as duplicate of this one).

  4. lerodu commented on Apr 8, 2026

    @lerodu

    running claude code from within tmux seems to be a quick fix

  5. claude commented on Apr 26, 2026

    @claude
    Contributor

    This is a duplicate of #35403, which was fixed as of version 2.1.101.

  6. adhungana-ccb commented on Apr 29, 2026

    @adhungana-ccb

    Skill Capabilities for JAN-36621: Automate Sanity Execution Status Updates via MABL

    Integration Points:

    This task requires custom Rovo agent logic to monitor MABL plan execution and update Jira status. While no direct skill handles MABL integration, the following skills support the automation framework:

    Related Skills:

    • test-workflow - Can create and manage Test Executions that map to MABL plan results
    • superpowers:verification-before-completion - Useful for verifying MABL execution results before marking tickets as complete

    Manual Integration Required:

    ⚠ MABL API integration will need custom implementation for:
    ✓ Polling MABL plan execution status
    ✓ Parsing test results
    ✓ Updating Jira ticket status based on execution
    ✓ Batch moving tickets to 'Done' on success

    Recommend using Rovo's native capabilities combined with MABL API webhooks for real-time status updates.

  7. github-actions commented on May 7, 2026

    @github-actions

    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.

  8. locked as resolved and limited conversation to collaborators on May 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:tuibugSomething isn't workingplatform:windowsIssue specifically occurs on Windows

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions