[BUG] Mousewheel scrolls through input history instead of chat history
Open 💬 18 comments Opened Dec 3, 2025 by Sp33dyFoX
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
- Claude Code version: 2.0.57
- Running via SSH in Windows PowerShell
- Mousewheel scrolls through previous input messages instead of scrolling the conversation
- Page Up/Page Down also cycle through input history
- Started after a watch command was run in a Bash tool call
- Persists after restart and reinstall
What Should Happen?
When using the mousewheel or Page Up/Page Down keys, the chat conversation history should scroll up and down, not cycle through previously typed input messages.
Error Messages/Logs
No specific error messages related to the scroll bug. The debug logs just show normal operations.
Environment:
- Claude Code version: 2.0.57
- OS: Windows (PowerShell via SSH to Linux server)
- Terminal: Windows PowerShell
Additional context:
- Issue started after a watch command was executed via the Bash tool
- Reinstalling Claude Code did not fix the issue
- Other PowerShell windows work normally
- No error messages in ~/.claude/debug/ logs related to this issue
Steps to Reproduce
- Open Windows PowerShell
- SSH into a Linux server
- Run claude to start Claude Code
- Ask Claude to monitor something using the watch command in a Bash tool call (e.g., watch -n 2
"some command" run in the background)
- The background watch process runs and outputs terminal escape sequences
- Kill the watch process
- Mousewheel scroll now cycles through input history instead of scrolling chat
- Exit Claude Code and restart - issue persists
- Reinstall Claude Code (npm i -g @anthropic-ai/claude-code) - issue persists
- Close PowerShell window, open new one, SSH again, run claude - issue persists
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.0.57
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
PowerShell
Additional Information
Everything was working fine until it wasn't. I asked Claude to assess what led up to the issue and it told me the "watch" command has a bug.
18 Comments
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
Nah, this is not a duplicate issue. Those other issues share a similar type of issue, but the series of events that led up to their issues are not the same as the series of events which led up to my issue.
What happened:
-Claude used the "watch" command to monitor the activity of something that was processing within my project.
Why it broke things:
terminal into a different display mode
doesn't fix it
My server crashed and somehow the problem fixed itself on my end. But it should be known that the series of events that occurred were what caused the initial scrolling problem in the first place. You can mark this as resolved or archived or whichever as long as the developers are made aware of the potential recurring issue.
This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.
the problem are not solved
still not resolved. it appears in latest version 2.1.56
Just appeared for me in 2.1.71. Not resolved.
Not resolved. I have the same issue
Solution from this post: https://www.reddit.com/r/ClaudeCode/comments/1rdwpdb/terminus_not_scrolling/?tl=es-419
Not fixed... occours on windows 11, wave terminal.
Figured out the cause for this: was running tix for shell stability and it was intercepting wheel movement. Could probably configure tix but decided on another container route that worked better overall.
This just started happening for me out of the blue, v2.1.139. No me gusta.
macOS, terminal.app, zsh.
Found a workaround:
/tui fullscreen(which explicitly enters the mode I don't like) followed by/tui default.It seems the TUI mode gets "confused", thinking that it is in the default mode even when it's not, or something like this. Explicitly switching to fullscreen and then back gets me back into default mode: the chat history is back in the term, and scrolling does what I want.
Still broken in v2.1.168 (Ubuntu 26.4, Tilix, Ptyxis, and other Terminal apps).
Please fix it, this is a real UX killer!
This saved my life. I experienced this bug on Fable 5 leftover context, so I was about to cry.
感谢!
Also saved my life. Thank you!
This needs fixing still. v2.1.205