anomalyco / anomalyco/opencode
Bug: IME composition breaks on the first keystroke in the v2 prompt input
Open
@kommander is already working on this.
Since Jul 30, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
When using the new prompt input, typing with an IME breaks on the first keystroke. The first character is committed as literal text into the input box instead of staying in the composition, so it can't join the rest.
The old layout handles this correctly, so it only affects the v2 editor.
Plugins
No response
OpenCode version
v1.18.6
Steps to reproduce
For example with double pinyin, typing ceuu leaves c in the box while euu stays in the IME candidate window.
Screenshot and/or share link
https://github.com/user-attachments/assets/408af654-87f5-4323-95c2-01436cb987ed
Operating System
macOS 27.0 Beta
Terminal
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.