Unclear It is not clear what condition turns this keyboard-layout translation on.
What
Computer use lets Claude control your screen, mouse and keyboard. On macOS, before pressing a keyboard shortcut, Claude Code can now read your current keyboard layout using a small script run through the system's osascript tool.
- If a character in the shortcut is not where a US keyboard would have it, Claude Code presses the key on your layout that produces it.
- If no key on your layout produces it, nothing is pressed and Claude is told: "Nothing was pressed: this keyboard layout has no key for" that character.
- Pasting reuses the same translated keys.
If the layout cannot be read, Claude Code reports that it could not read the keyboard layout.
Why
Shortcuts sent by computer use should now do the right thing on layouts such as AZERTY or Dvorak, instead of pressing the wrong key.
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
It is not clear what condition turns this keyboard-layout translation on.