Skip to content

[Bug]: Terminal scrollbar jumps to top after confirming Claude Code prompts #2984

@jianfengzhang-maersk

Description

@jianfengzhang-maersk

Current Behavior

When using Claude Code in Wave Terminal, every time Claude asks for confirmation (e.g., "Do you want to proceed? [Y/n]") and I confirm the action, the scrollbar on the right immediately jumps back to the top of the terminal output. I then have to manually scroll down to see the latest output.

This happens consistently with every confirmation prompt in Claude Code.

Expected Behavior

After confirming an action in Claude Code, the terminal should maintain the current scroll position or scroll to the bottom to show the latest output, rather than jumping to the top.

Steps To Reproduce

  1. Open Wave Terminal
  2. Run claude command to start Claude Code
  3. Ask Claude to perform any action that requires confirmation (e.g., "create a file", "run a command")
  4. When prompted for confirmation (Y/n), press Enter or type "Y" to confirm
  5. Observe that the scrollbar jumps to the top of the terminal

Wave Version

0.13.1

Platform

macOS

OS Version/Distribution

macOS 15.x

Architecture

arm64 (Apple Silicon)

Anything else?

Questionnaire

  • I'm interested in fixing this myself but don't know where to start
  • I would like to fix and I have a solution
  • I don't have time to fix this right now, but maybe later

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions