Preflight Checklist
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.
Preflight Checklist
What's Wrong?
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
Steps to Reproduce
"some command" run in the background)
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.