anomalyco / anomalyco/opencode
tui: stale text artifact after terminal resize on Wayland
Open
@simonklee is already working on this.
Since Aug 15, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
After resizing the terminal window on Wayland (Ubuntu), stale text remains rendered on screen and overlaps with new content. The artifact persists through normal interaction and is not cleared by Ctrl+L. Resizing again sometimes clears it.
Observed artifact: the word rendered in the wrong position, overlapping the agent info bar ().
Steps to reproduce
- Launch opencode TUI on a Wayland-based Ubuntu setup
- Resize the terminal window
- Observe stale text artifacts overlapping current content
Environment
- OS: Ubuntu (Wayland)
- Terminal: default Ubuntu terminal
- OpenCode version: dev branch
Impact
Visual corruption that persists until the next resize event clears it. Ctrl+L does not fix it.
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.