anomalyco / anomalyco/opencode

tui: stale text artifact after terminal resize on Wayland

Open
#42,687 0 comments 0 reactions 1 assignee View on GitHub

@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

  1. Launch opencode TUI on a Wayland-based Ubuntu setup
  2. Resize the terminal window
  3. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.