[BUG] Alt+M keyboard shortcut to cycle modes broken on Windows in 2.1.x
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?
Description
The Alt+M keyboard shortcut to cycle through modes (plan mode, auto mode, etc.) does not work on Windows in version 2.1.x.
## Environment
- Claude Code version (broken): 2.1.6, 2.1.7
- Claude Code version (working): 2.0.77
- OS: Windows
- Terminals tested: Windows Terminal, WezTerm
## Steps to reproduce
- Install Claude Code 2.1.7 (or 2.1.6)
- Start a new
claudesession - Press Alt+M to cycle modes
- Nothing happens
## Expected behavior
Alt+M should cycle through modes (normal → plan mode → auto mode, etc.)
## Actual behavior
- Alt+M does nothing
- Shift+Tab (documented alternative) also behaves unexpectedly:
- In plan mode: does nothing
- Outside plan mode: shows "toggle thinking with meta+t" instead of cycling modes
## Workaround
Downgrade to version 2.0.77 where Alt+M works correctly:
npm install -g @anthropic-ai/claude-code@2.0.77
## Additional context
This appears to be a regression introduced somewhere between 2.0.77 and 2.1.0.
What Should Happen?
cycle permission modes
Error Messages/Logs
Steps to Reproduce
press alt m and watch nothing happen
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
2.0.77
Claude Code Version
2.1.7
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Windows Terminal
Additional Information
broken in windows terminal and wezterm on latest version of claude code
This issue has 11 comments on GitHub. Read the full discussion on GitHub ↗