[BUG] Media Play/Pause key inserts [57430u in input
Resolved 💬 2 comments Opened Mar 26, 2026 by gonzalo-mv Closed Apr 18, 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?
Play/Pause media key (Logitech mouse shortcut) inserts [57430u as literal text in the input line while Claude Code is running. Works fine in plain PowerShell.
What Should Happen?
Media keys should be ignored or passed through to the OS, not captured as input.
Error Messages/Logs
No error, just `[57430u` showing up as text in the input line.
Steps to Reproduce
- Run
claudein PowerShell - Press Play/Pause media key (in my case, a Logitech mouse button mapped to Play/Pause)
[57430uappears in the input
Claude Model
Not sure / Multiple models
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.84 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
PowerShell
Additional Information
Same class of bug as #38624, #17386, #16801 — Claude Code activates Kitty keyboard protocol but doesn't filter keycodes it doesn't handle. 57430 = Media Play/Pause in the Kitty spec.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗