[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

  1. Open Claude Code CLI in WSL2 via Windows Terminal
  2. Have at least one previous message in the chat session
  3. Scroll the mouse wheel up or down in the terminal
  4. 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):

  1. Set up and down to null in ~/.claude/keybindings.json (both WSL and Windows paths)
  2. Restarted Claude Code after each change
  3. Full uninstall — deleted all Claude-related files including ~/.claude and C:\Users\<user>\.claude
  4. Fresh reinstall of Claude Code
  5. Issue persists across all attempts

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗