fix(tui): normalize ctrl keybinds on non-latin layouts by artonyuan · Pull Request #7573 · anomalyco/opencode · GitHub
Skip to content

fix(tui): normalize ctrl keybinds on non-latin layouts#7573

Closed
artonyuan wants to merge 2 commits into
anomalyco:devfrom
artonyuan:fix/tui-ctrl-keybinds-ru
Closed

fix(tui): normalize ctrl keybinds on non-latin layouts#7573
artonyuan wants to merge 2 commits into
anomalyco:devfrom
artonyuan:fix/tui-ctrl-keybinds-ru

Conversation

@artonyuan

@artonyuan artonyuan commented Jan 10, 2026

Copy link
Copy Markdown

What does this PR do?

When Ctrl/Alt/Cmd is held, the keybind now uses the physical key’s base letter (like “v”) instead of the layout-specific character (like “м”). This makes modified shortcuts like Ctrl+V and Ctrl+P work even when the macOS input source is Russian.

How did you verify your code works?

Related: #6753. This PR is a small TUI‑only fix that normalizes modified keys without a config toggle.

@github-actions

Copy link
Copy Markdown
Contributor

@github-actions

Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot closed this Mar 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(tui): Ctrl+V image paste fails with Russian input source on macOS

1 participant