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

[BUG] Unable to select model using option+p in Mac

Open yhan1-godaddy opened this issue 3 weeks ago • 1 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?

When trying to switch model while typing a prompt using option+p, this is the output: π

What Should Happen?

change model

Error Messages/Logs


Steps to Reproduce

Open claude code using mac termina and type option+p. Same issue in iTerm2 and vs code term.

Claude Model

None

Is this a regression?

No, this never worked

Last Working Version

No response

Claude Code Version

2.0.68

Platform

AWS Bedrock

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

No response

yhan1-godaddy avatar Dec 13 '25 00:12 yhan1-godaddy

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/11522
  2. https://github.com/anthropics/claude-code/issues/2751
  3. https://github.com/anthropics/claude-code/issues/8259

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

github-actions[bot] avatar Dec 13 '25 00:12 github-actions[bot]

Ok figured it out. You have to use none default terminal settings for this to work:

  • Terminal, "Use Option as Meta Key"
  • iTerm2, "Send option as Esc+"
  • VS Code, "macOptionalsMeta" need to be toggled on

Suggest to either add to help doc or support default mac option key since it requires none default settings.

yhan1-godaddy avatar Dec 15 '25 18:12 yhan1-godaddy

Same issue. I get the pi symbol. Tried on Warp, default Mac terminal, and Ghostty

UPDATE: Indeed it is fixed in Warp by switching on the flag Option key is Meta

sldx avatar Dec 16 '25 13:12 sldx

I had the same issue using the Ghostty terminal app. Thanks for all the hints in this thread. So I could figure out how I have to configure Ghostty:

macos-option-as-alt = true

See https://ghostty.org/docs/config/reference#macos-option-as-alt

SommerEngineering avatar Dec 17 '25 11:12 SommerEngineering