claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[BUG] Alt+M keyboard shortcut to cycle modes broken on Windows in 2.1.x

Open jwebs90 opened this issue 10 months ago • 9 comments

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

  1. Install Claude Code 2.1.7 (or 2.1.6)
  2. Start a new claude session
  3. Press Alt+M to cycle modes
  4. 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/[email protected]

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

jwebs90 avatar Jan 14 '26 12:01 jwebs90

Also it seems I cannot disable auto updates so I am stuck using the latest version with the bug

jwebs90 avatar Jan 14 '26 12:01 jwebs90

Samesies. AI search told me to use Shift+Tab instead, but that didn't work either. Running Windows Terminal in Windows 11. Windows Claude Code v2.1.6, not WSL.

DLTKDavidFarthing avatar Jan 14 '26 16:01 DLTKDavidFarthing

same for me, latest working version is 2.1.2 npm install -g @anthropic-ai/[email protected] --- tried 2.1.3, 2.1.4, 2.1.5, 2.1.6, 2.1.7, same bug, alt+m doesn't work and shift+tab either. Windows 11 25H2 Windows Terminal

Hash512 avatar Jan 14 '26 19:01 Hash512

same here. please fix. and yes ... There is no "disable" mode for auto-updates that I could find. so installing at 2.1.2 does not work for long. you can use this every time you open Claude Code:
npx @anthropic-ai/[email protected] npx @anthropic-ai/[email protected] --dangerously-skip-permissions

v 2.1.7 just dropped and this is still not fixed. I was so disappointed.

jtkelley avatar Jan 14 '26 19:01 jtkelley

To disable auto-update, you can add the following json to C:\Users\username\.claude\settings.json

{
  "env": { "DISABLE_AUTOUPDATER": "1"  }
}

Hash512 avatar Jan 14 '26 19:01 Hash512

Same problem here. The only work arround I found is to say to claude "enter in plan mode", "enter in auto mode"...

RinaldoBenaccetta avatar Jan 15 '26 16:01 RinaldoBenaccetta

Same problem here. When pressing "?", it shows Ctrl - Shift as the new shortcut but it does exactly as described in bug report.

Atl-m does nothing and Ctrl-Shift show "toggle thinking with meta+t"

Ethorsen avatar Jan 15 '26 20:01 Ethorsen

This is extremely inconvenient. Neither Alt+M nor Shift+Tab toggle between modes - the only way to enter plan mode is to run /pan command before I start prompting. Sometimes I say in the longer prompt to switch to plan mode, but it gets ignored.

vjekob avatar Jan 15 '26 23:01 vjekob

same

ErkanShakir3E avatar Jan 16 '26 10:01 ErkanShakir3E

Fixed for me in v2.1.9! Thank you

DLTKDavidFarthing avatar Jan 16 '26 14:01 DLTKDavidFarthing

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

github-actions[bot] avatar Jan 29 '26 14:01 github-actions[bot]