Skip to content

[BUG] View intermittently jumps to top of terminal when reviewing code edits while scrolled up #1486

@Cheffromspace

Description

@Cheffromspace

Environment

  • Platform (select one):
    • Anthropic API
  • Claude CLI version: 1.0.6 (Claude Code)
  • Operating System: Windows 11, Ubuntu 22.04
  • Terminal: Windows Terminal
  • Verbose mode: false

Description: When reviewing code changes in Claude Code's edit panel (with accept prompt), if the view is scrolled up from the bottom position, it can automatically jump to the top of the terminal output. This happens without user interaction and appears to be intermittent or delayed.

Steps to Reproduce:

  1. Use Claude Code to generate/edit code
  2. When the edit review panel appears with the accept prompt
  3. Be in a scrolled-up position (not at the very bottom of the output)
  4. Wait/observe - view may jump to top after a delay or refresh

Expected Behavior: The view should remain at the current scroll position while reviewing changes.

Actual Behavior: The view intermittently jumps to the top of terminal output when not positioned at the very bottom. The jump may occur after a delay, suggesting a possible refresh/redraw issue.

Impact: Disrupts reviewing large diffs as users lose their place, particularly problematic for lengthy code reviews.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:tuibugSomething isn't workinghas reproHas detailed reproduction stepsplatform:linuxIssue specifically occurs on Linuxplatform: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