[BUG] Spanish Mac keyboard: ALT+2 (@) and ALT+3 (#) not working in Claude Code terminal

Resolved 💬 3 comments Opened Jan 18, 2026 by aresta Closed Jan 22, 2026

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?

  • Mac with Spanish keyboard layout
  • ALT+2 (@) and ALT+3 (#) don't work in Claude Code terminal. I press the key and the char don't appear.
  • They work fine in other terminals and applications
  • Some ALT symbols work fine, like { and [ , but not their closing pairs, and probably others

What Should Happen?

All keyboard keys should work

Error Messages/Logs

Steps to Reproduce

Open claude code and press ALT+2 (@) or ALT+3 (#)

Claude Model

Not sure / Multiple models

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.12 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗