anomalyco / anomalyco/opencode
[Bug] CJK and wide emoji disappear behind translucent TUI dialog backdrops
@kommander is already working on this.
Since Aug 8, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
When a TUI dialog/overlay is opened, such as the command palette with Ctrl+P, CJK text and some wide emoji in the dimmed background become blank/invisible. ASCII text in the same background remains visible.
The text is restored immediately after closing the dialog.
This reproduces in both Windows Terminal and WezTerm, so it is not limited to one terminal emulator.
OpenCode version
1.18.15
Expected behavior
All text should remain readable, merely dimmed, while an overlay is open.
Actual behavior
Wide graphemes in the background are replaced by blank cells.
Related reports
- #7650
- #18088
- #29007
- https://github.com/anomalyco/opentui/issues/837
- https://github.com/anomalyco/opentui/pull/791
Plugins
oh-my-opencode 4.19.4 (Irrelevant)
OpenCode version
1.18.15
Steps to reproduce
- Produce a response containing mixed ASCII, CJK, and emoji text.
- Press
Ctrl+Pto open the command palette. - Observe the dimmed background:
- Chinese/Japanese/Korean characters disappear.
- Some emoji disappear.
- ASCII text remains visible.
- Close the palette; the missing text returns immediately.
Screenshot and/or share link
The first two screenshots show the same test text before opening the overlay.
The latter two show the failure after opening Ctrl+P, including reproduction in Windows Terminal and WezTerm.
Operating System
wsl for ubuntu 24.04 & windows 11
Terminal
windows terminal & wezterm
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.