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

[Bug] Alt+T(option+T) not enabling thinking mode on macOS

Open cywr opened this issue 1 week ago β€’ 14 comments

Bug Description Impossible to use alt+t to enable thinking mode on macos... on doing it ai get "†" printed, which is actually "option+t"

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.0.71
  • Feedback ID: f58365a3-1fdc-442e-84c9-3c74131542e9

Errors

[]

cywr avatar Dec 17 '25 13:12 cywr


Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/14284
  2. https://github.com/anthropics/claude-code/issues/13854
  3. https://github.com/anthropics/claude-code/issues/14322

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 17 '25 13:12 github-actions[bot]

If you're on iTerm, go to the iTerm preferences -> Profiles -> Keys -> set the Left/Right Option key to Esc+.

AbdelrahmanHafez avatar Dec 18 '25 06:12 AbdelrahmanHafez

I'm also experiencing the same issue.

acking-you avatar Dec 18 '25 06:12 acking-you

Same for me on Kitty.

Setting the macos_option_as_alt option to yes in kitty.conf did the trick.

https://sw.kovidgoyal.net/kitty/conf/#opt-kitty.macos_option_as_alt

dhernandoatnewrelic avatar Dec 18 '25 09:12 dhernandoatnewrelic

Setting the macos_option_as_alt option to yes in kitty.conf did the trick.

Unfortunately that particular fix makes it so you can't use macOS diacritic input. Using alt as a mod key for a macOS terminal app is generally undesirable behavior, so IMO the default should be changed to something else.

lxcode avatar Dec 18 '25 14:12 lxcode

Setting the macos_option_as_alt option to yes in kitty.conf did the trick.

Unfortunately that particular fix makes it so you can't use macOS diacritic input. Using alt as a mod key for a macOS terminal app is generally undesirable behavior, so IMO the default should be changed to something else.

Correct, there are some consequences to this setting, well explained in the link. Proceed with caution. Just in case anyone really wanted to work around it. I guess it'd be cool to be able to customize the shortcut, if not possible already.

dhernandoatnewrelic avatar Dec 18 '25 14:12 dhernandoatnewrelic

On macOS, the Option key types special characters by default (Option+T = †). Terminals need to be configured to send Option as Meta/Escape for Alt shortcuts to work.

We've added a fix in the upcoming release - you'll see a notification guiding you to run /terminal-setup.

How to fix

Terminal Setting
Terminal.app Run /terminal-setup in Claude Code, or: Settings β†’ Profiles β†’ Keyboard β†’ βœ“ "Use Option as Meta key"
iTerm2 Settings β†’ Profiles β†’ Keys β†’ General β†’ Left Option Key β†’ Esc+
VS Code / Cursor / Windsurf Add "terminal.integrated.macOptionIsMeta": true to settings.json
Ghostty Add macos-option-as-alt = true to config
Kitty Add macos_option_as_alt yes to kitty.conf

Note: This disables special character input (Γ©, Γ±, ΓΌ) via Option. Use /config to toggle thinking if you need both.

bogini avatar Dec 18 '25 17:12 bogini