anomalyco / anomalyco/opencode

TUI renders incorrectly after some time - truncated lines, resize temporarily fixes

Open
#49,411 0 comments 0 reactions 1 assignee View on GitHub

@kommander is already working on this.

Since Sep 16, 2026.

Dominant language
TypeScript
Stars
209k
Forks
27.5k
PR merge metrics
PR metrics pending

Description

Bug: Question dialog duplicates options and truncates text

From screenshot (Build · Muse Spark 1.3 Contributor, Thought: 828ms, Asked 1 question):

  • Question text split per line with left purple bars, hard to read:
    “El build en Vercel falla porque el JSON en GitHub ya tiene "pausado" pero el schema en GitHub (keystatic.config.tsx) no lo tiene. Localmente ya tenés el fix sin pushear. ¿Hago commit + push...?”
  • Options rendered twice, overlapped:
    1. “Sí, pushear fix” appears twice
    2. “No, solo diagnóstico” appears twice
    3. “Type your own answer” appears twice
  • Footer hints duplicated/overlapped: “↑↓ enter submit esc select dismiss” + “select dismiss” repeated.
Expected
  • Each option rendered once
  • Question body wrapped normally, no per-line truncation
  • Single footer hint line
Repro
  1. Build agent calls ask/question with 2 options + custom answer
  2. Long Spanish question text (~300 chars)
  3. Observe TUI dialog
Env
  • opencode TUI, Build agent Muse Spark 1.3 Contributor
  • Windows, screenshot 278x~800 portrait

Contributed from user report to help opensource.

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.