Skip to content

[Bug]: Terminal scrolls to top after Claude output #2384

Closed

Description

@benjlcox

Current Behavior

When using Claude and arbitrary points, but always when Claude asks for input, the Wave terminal will scroll all the way to the top

Expected Behavior

Don't scroll to the top :)

Steps To Reproduce

  1. Use wave
  2. Run Claude
  3. Ask claude to do something

Wave Version

0.11.6

Platform

macOS

OS Version/Distribution

Tahoe 26.0

Architecture

arm64

Anything else?

No response

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

Activity

  1. sawka commented on Oct 10, 2025

    @sawka
    Member

    Sorry about this, that sounds super frustrating!

    I've tested Claude Code in Wave and I don't get scrolled to the top (seems to work fine) -- also on MacOS. What shell are you using (bash, zsh)? I'm trying to think of anything that could cause this but coming up pretty blank. Is it happening on every user-input prompt or just sometimes? I just ran through a couple of sessions in a couple different repos and wasn't able to repro the issue.

    I'll dig around a bit more and see if there is any xterm.js issues or places where we might inadvertently call a "scroll to top" for that container.


    This won't fix your issue, but we did add a new setting term:shiftenternewline that you can set to true which allows you to use Shift+Enter in Claude Code to get newlines instead of having Shift+Enter submit.

  2. benjlcox commented on Oct 23, 2025

    @benjlcox
    Author

    Hm, that's interesting. I'm using zsh. I'll try and see if I can dig into what might be unique (broken) about my setup

  3. ZhuYizhou2333 commented on Nov 24, 2025

    @ZhuYizhou2333

    I'm using zsh and I've encountered the same issue

  4. mawazawa commented on Nov 29, 2025

    @mawazawa

    Additional Feedback from User:

    Current Workaround (macOS):

    • Control+Down Arrow jumps to bottom of terminal
    • Control+Up Arrow jumps to top
      (Note: It's Control, not Command, even on Mac)

    Feature Request:
    Would be great to have a UI button to jump to bottom (similar to Docker Desktop terminal). Having to use keyboard shortcuts or scroll manually is frustrating, especially when Claude outputs a lot of text and the terminal auto-scrolls to the top.

    This would significantly improve the UX for Claude Code users in Wave Terminal.

  5. jrlprost commented on Nov 29, 2025

    @jrlprost

    Hello!
    I can tell you I have the same issue on Mac using Claude Code and Wave.

    Wave Client Version 0.12.5 (202511250205)

    Ctrl + UP / Down doesn't work on my configuration (French Keyboard)
    I'm using Option + Up / Down -> Kind of working

    Best regards,
    JR

  6. zcf0508 commented on Dec 10, 2025

    @zcf0508

    When I paste lengthy content into a dialog and press submit, the terminal scrolls to the top, exhibiting the same behavior. In addition, I've noticed that when I hit PageDown and then any key, the terminal will scroll to the top again.

  7. daijpeng commented on Dec 11, 2025

    @daijpeng

    windows环境,远程登陆到linux主机,运行claudecode,面临同样的问题。

  8. artbird309 commented on Jan 17, 2026

    @artbird309

    I am also having this issues randomly when scrolling as Claude is running.

    I am running Pop OS 22.04 with ZSH and Wave 0.13.1

  9. added a commit that references this issue on Feb 11, 2026
    d6e67b2
  10. nateduffy-IG commented on Feb 22, 2026

    @nateduffy-IG

    This is an issue for me as well!

  11. harleymckenzie commented on Feb 26, 2026

    @harleymckenzie

    Same issue here, makes it a killer when you're switching between multiple sessions and trying not to forget what was happening in the other terminal block

  12. sawka commented on Feb 27, 2026

    @sawka
    Member

    (reposted from my comment on #2790)

    Sorry about this, it sounds super frustrating. Been working on some potential fixes #2941 and #2944, but the big problem is I just can't seem to reproduce the issue on my mac or on my windows box. I believe it is happening since there are so many bug reports, but I'm really struggling to figure out what is causing it (been pouring through the Wave and xterm.js code looking for anything that would cause a scroll to top).

    If anyone else has this bug please include what platform (macos, windows, linux) you are on. If on mac also please let me know if you have automatic or always for "show scroll bars", and if you are on Sequoia or Tahoe.

    Also, are you seeing this when:

    • Switching Tabs
    • Resizing the Terminal / Window
    • When Claude Code asks for input
    • When pasting input into Claude Code
    • Sometime else?

    The more specific with the "when" can maybe help me narrow it down or repro it. Thanks

  13. nateduffy-IG commented on Feb 27, 2026

    @nateduffy-IG

    It's happening after claude code finishes with something then asks for my input. It will then shoot me back to the top of the thread and I have to scroll down to the message.

  14. wajahatkarim3 commented on Feb 27, 2026

    @wajahatkarim3

    @sawka I came here searching for this as it's too much annoying and wanting me to move to some other terminal. I have recorded a video for you to see that within 2 mins of Claude working, it scrolled back to top like 3 times and then I had to come back down again.

    Kapture.2026-02-28.at.03.47.08.mp4
  15. sawka commented on Mar 12, 2026

    @sawka
    Member

    the bulk of this issue should be fixed as of v0.14.1

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions