Description
Bug Description
Keyboard shortcuts do not work when Korean IME is active. This includes
Ctrl+C (exit), Ctrl+X (leader key), and likely all Ctrl+ combinations.
Must switch to English input method first to use any shortcuts.
I believe this is because the app matches keybindings by character value, so
Ctrl+C registers as Ctrl+ㅊ, Ctrl+X as Ctrl+ㅌ, etc.
Environment: Ubuntu, VSCode integrated terminal
Prior Issues
This has been reported before and similar issues exist for other non-English
IMEs as well:
PRs #5956 and #6753 attempted fixes using physical keycode (baseCode) but
neither was merged.
Proposed Fix
Use baseCode (physical key position) from the Kitty keyboard protocol instead
of name (character value) for keybind matching. When baseCode is available,
prioritize it — this would fix the issue for Korean IME and likely other
non-Latin input methods as well.
Plugins
None
OpenCode version
v1.3.16
Steps to reproduce
- Switch to any non-English IME (e.g. Korean, Chinese, Japanese)
- Open opencode TUI
- Press Ctrl+C to exit → nothing happens
- Press Ctrl+X then p (leader key sequence) → nothing happens
- Switch to English IME
- Same shortcuts now work
Screenshot and/or share link
No response
Operating System
No response
Terminal
No response
Description
Bug Description
Keyboard shortcuts do not work when Korean IME is active. This includes
Ctrl+C (exit), Ctrl+X (leader key), and likely all Ctrl+ combinations.
Must switch to English input method first to use any shortcuts.
I believe this is because the app matches keybindings by character value, so
Ctrl+Cregisters asCtrl+ㅊ,Ctrl+XasCtrl+ㅌ, etc.Environment: Ubuntu, VSCode integrated terminal
Prior Issues
This has been reported before and similar issues exist for other non-English
IMEs as well:
PRs #5956 and #6753 attempted fixes using physical keycode (
baseCode) butneither was merged.
Proposed Fix
Use
baseCode(physical key position) from the Kitty keyboard protocol insteadof
name(character value) for keybind matching. WhenbaseCodeis available,prioritize it — this would fix the issue for Korean IME and likely other
non-Latin input methods as well.
Plugins
None
OpenCode version
v1.3.16
Steps to reproduce
Screenshot and/or share link
No response
Operating System
No response
Terminal
No response