You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Desktop] Chinese input: first keystroke after newline is swallowed #15506
When typing Chinese in the input dialog, the first keystroke after pressing Enter to add a newline gets swallowed. This doesn't happen with English input.
Environment
OS: Windows X-lite (simplified Win11)
Terminal: OpenCode Desktop client
Input Method: 手心输入法 (Shouxin Input Method)
OpenCode: 1.2.14
Steps to Reproduce
Open OpenCode Desktop client
Type Chinese text in the input dialog
Press Enter to add a newline
Try to continue typing - first keystroke is swallowed
Expected
Should be able to continue typing Chinese normally after newline
Additional
The issue appears to be related to input method key interception
Ctrl+J is intercepted by the input method (used to toggle Chinese/English mode)
English input works fine
Only Chinese input has this problem
Using Ctrl+J doesn't create a newline, it just toggles the input method
If your issue is distinct (specifically the first keystroke being swallowed after a newline), please add a comment clarifying how it differs from the above.
Activity
github-actions commentedon Mar 1, 2026
This issue might be a duplicate of existing issues. Please check:
If your issue is distinct (specifically the first keystroke being swallowed after a newline), please add a comment clarifying how it differs from the above.
github-actions commentedon Apr 30, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.