anomalyco / anomalyco/opencode
[Bug]: Desktop macOS 15: first Chinese character cannot be typed with 微信输入法 / 豆包输入法 IME
@Brendonovich is already working on this.
Since Aug 11, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- Avg merge
- 7h 2m
- Merged PRs (30d)
- 384
Description
Description
On macOS 15, in the OpenCode desktop app, the first character cannot be entered when the input field is in Chinese input-method state. Reproduced with two third-party IMEs: 微信输入法 (WeChat / WeType) and 豆包输入法 (Doubao). If the first character is English or a digit, everything works fine afterwards — the failure only affects the very first Chinese keystroke of a message.
This looks related to existing IME composition issues (#39632, #37911, #38674) but occurs specifically in the desktop app's first-keystroke path with these IMEs on macOS 15 (not the v2 web prompt, not Esc handling).
Plugins
None
OpenCode version
1.18.16 (Desktop)
Steps to reproduce
- Install 微信输入法 (z.weixin.qq.com) or 豆包输入法 (shurufa.doubao.com) on macOS 15.
- Open the OpenCode desktop app, click into the message input field.
- Keep the IME in Chinese mode, type the first character (e.g.
n), continue composing. - Nothing appears / the first character is lost or committed literally instead of entering the composition.
- As a workaround: type an English letter or a digit first, then the following Chinese text inputs normally.
Screenshot and/or share link
No response
Operating System
macOS 15.7.9
Terminal
No response (Desktop app)
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.