[Bug]: Terminal scrolls to top after Claude output
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
- Use wave
- Run Claude
- 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
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.
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
I'm using zsh and I've encountered the same issue
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.
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
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.
windows环境,远程登陆到linux主机,运行claudecode,面临同样的问题。