Ctrl+key shortcuts (Ctrl+V image paste, Ctrl+D exit) ignored on non-Latin keyboard layouts

Resolved 💬 2 comments Opened May 11, 2026 by Dmytro123456 Closed Jun 27, 2026

What's wrong

When the macOS keyboard layout is set to a non-Latin script (Ukrainian, Russian, etc.), Ctrl+key shortcuts in the Claude Code TUI are silently ignored. Concretely, the two that hit me daily:

  • Ctrl+V — image paste does nothing
  • Ctrl+D — exit Claude Code does nothing

To use either, I have to switch the OS layout back to English, hit the combo, then switch back to Ukrainian to keep typing. When I'm conversing with Claude in Ukrainian, this means toggling the layout repeatedly per session.

Root cause

Cmd+* shortcuts (e.g. Cmd+C) work fine on the same non-Latin layout, so the OS and the terminal are delivering keystrokes correctly. The drop is happening inside Claude Code's input handling — same root cause as described in #36549 (closed as stale): Claude Code matches on the layout-specific Unicode codepoint instead of the layout-independent control byte.

What should happen

Ctrl+V, Ctrl+D, and other Ctrl shortcuts should fire on the physical key / control byte, not the layout-specific codepoint — matching standard terminal-app behavior.

Related (all closed as stale, problem still real)

  • #36549 — Cyrillic + kitty, identical root cause
  • #40291 — Korean Hangul IME, all Ctrl shortcuts ignored
  • #49758 — Ctrl+C requires English IME

Environment

  • Claude Code: 2.1.138
  • OS: macOS (Darwin 25.4.0)
  • Terminal: iTerm2 (same behavior reported in Terminal.app, Ghostty, kitty in linked issues)
  • Affected layout: Ukrainian (and any non-Latin layout — see linked issues for Korean/Russian/Japanese)

View original on GitHub ↗

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