[BUG] Mouse scroll triggers history:previous/history:next in chat input on WSL + Windows Terminal; null keybindings have no effect
Resolved 💬 2 comments Opened Jun 11, 2026 by diveshreddy27 Closed Jun 15, 2026
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?
Scrolling with the mouse wheel in Windows Terminal while Claude Code is open triggers history:previous and history:next in the chat input — the input field cycles through previous messages instead of the terminal scrolling. This persists even after a full uninstall, deleting all Claude-related files, and a fresh reinstall.
What Should Happen?
Mouse scroll should scroll the terminal view, not navigate through chat input history.
Error Messages/Logs
Steps to Reproduce
- Open Claude Code CLI in WSL2 via Windows Terminal
- Have at least one previous message in the chat session
- Scroll the mouse wheel up or down in the terminal
- Observe: the chat input field cycles through previous messages (history:previous / history:next) instead of the terminal scrolling
Claude Model
None
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.173
Platform
Other
Operating System
Windows
Terminal/Shell
WSL (Windows Subsystem for Linux)
Additional Information
Attempted fixes (all failed):
- Set up and down to null in ~/.claude/keybindings.json (both WSL and Windows paths)
- Restarted Claude Code after each change
- Full uninstall — deleted all Claude-related files including ~/.claude and C:\Users\<user>\.claude
- Fresh reinstall of Claude Code
- Issue persists across all attempts
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗