anomalyco / anomalyco/opencode
TUI renders incorrectly after some time - truncated lines, resize temporarily fixes
Open
@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:
- “Sí, pushear fix” appears twice
- “No, solo diagnóstico” appears twice
- “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
- Build agent calls ask/question with 2 options + custom answer
- Long Spanish question text (~300 chars)
- 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
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.