Norwegian keyboard layout on Mac: Option+Shift+8/9 produces ( ) instead of { } in CLI prompt

Resolved 💬 2 comments Opened Apr 8, 2026 by akselw Closed Apr 23, 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?

On macOS with a Norwegian keyboard layout, typing Option+Shift+8 (which should produce {) and Option+Shift+9 (which should produce }) instead produces ( and ) in the Claude Code CLI prompt. This works correctly in all other applications and terminal contexts, including regular terminal commands.

Expected Behavior

{ and } are inserted into the prompt.

Actual Behavior

( and ) are inserted instead.

## Environment

  • Claude Code version: 2.1.85
  • macOS version: 15.7.3 (Sequoia)
  • Keyboard layout: Norwegian

What Should Happen?

{ and } should be inserted into the prompt when typing Option+Shift+8 and Option+Shift+9 respectively.

Error Messages/Logs

Steps to Reproduce

  1. Set keyboard layout to Norwegian on macOS
  2. Open Claude Code CLI
  3. Type Option+Shift+8 — expect {, get (
  4. Type Option+Shift+9 — expect }, get )

Claude Model

None

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.85

Platform

AWS Bedrock

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

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