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

[Bug] Opt+T keyboard shortcut conflicts with Turkish keyboard layout (₺ symbol)

Open sBugraTiryaki opened this issue 11 months ago • 2 comments

Bug Description

Title: Opt+T keyboard shortcut conflicts with Turkish Lira symbol (₺) on Turkish Mac keyboards

Description:

The keyboard shortcut for toggling thinking mode (Opt+T on macOS) conflicts with the Turkish Lira currency symbol (₺) on Turkish keyboard layouts.

On Turkish Mac keyboards, Opt+T is a system-level keyboard shortcut that types the ₺ character. This means Turkish users cannot toggle thinking mode without modifying their system keyboard settings, which affects their entire OS experience.

Why this matters:

  • Turkey has a significant developer community
  • Asking users to modify system-wide keyboard settings is not a reasonable workaround, as it affects all applications
  • This likely affects other language keyboards where Opt+key combinations produce special characters (e.g., German, French, Nordic layouts)

Suggested solutions:

  1. Allow users to customize keybindings in Claude Code settings
  2. Provide an alternative shortcut that doesn't conflict with common international keyboard layouts (e.g., Opt+Shift+T or Cmd+Shift+T)
  3. Add a CLI command or slash command alternative (e.g., /thinking toggle)

Affected configuration:

  • macOS with Turkish keyboard layout
  • Potentially other non-US keyboard layouts with Opt+key character mappings

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 2.0.74
  • Feedback ID: 9bf2dd29-09b5-4608-a456-0184b239eba1

Errors

[{"error":"SyntaxError: JSON Parse error: Unable to parse JSON string\n    at <parse> (:0)\n    at parse (unknown)\n    at <anonymous> (/$bunfs/root/claude:78:751)\n    at A (/$bunfs/root/claude:11:6978)\n    at uf_ (/$bunfs/root/claude:947:2739)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-20T01:51:45.913Z"},{"error":"Error: Request was aborted.\n    at _createMessage (/$bunfs/root/claude:458:3157)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-20T01:52:12.421Z"}]

sBugraTiryaki avatar Dec 20 '25 01:12 sBugraTiryaki

This also affects Italian keyboard layouts on macOS.

On Italian keyboards:

  • @ is typed with Option + ò
  • This requires "Use Option as Meta Key" to be disabled in terminal settings
  • But Opt+T for thinking toggle requires it to be enabled

This creates an impossible choice: either lose the ability to @-mention files, or lose the thinking toggle shortcut.

For international keyboard users, the previous Tab shortcut was actually preferable since it didn't conflict with Option-based character input. The "accidental triggers" issue (v2.0.72) could perhaps be solved differently than moving to Opt+T.

+1 for customizable keybindings - this would let users choose what works best for their keyboard layout.

mohammad-harba avatar Dec 22 '25 10:12 mohammad-harba

The same problem affects Polish keyboards on the mac, opt+t produces the '†' symbol and does not send the escape sequence to the terminal.

michalkurpanik avatar Dec 30 '25 18:12 michalkurpanik

To stop opt+t from producing special character (e.g. †) and instead work as a terminal meta key, you will need to change terminal's internal setting to treat the option key as meta key.

This work on my Warp terminal:

  1. Open Warp settings.
  2. Navigate to Features on the left sidebar.
  3. Scroll down to the Keys section.
  4. Toggle "Left Option key is Meta" (or "Right Option key is Meta")

geraldooi avatar Dec 31 '25 04:12 geraldooi

This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.

github-actions[bot] avatar Jan 30 '26 10:01 github-actions[bot]

Closing for now — inactive for too long. Please open a new issue if this is still relevant.

github-actions[bot] avatar Feb 14 '26 10:02 github-actions[bot]

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 Feb 23 '26 14:02 github-actions[bot]