anomalyco / anomalyco/opencode
TUI is overwritten by raw plugin or worker output
Open
@simonklee is already working on this.
Since Aug 17, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
Raw stdout/stderr writes from in-process plugins or the TUI server paint over opentui's alternate screen, making the session unreadable.

Plugins
WarpGrep/Morph
OpenCode version
1.18.4
Steps to reproduce
- Run
opencode --print-logs --log-level DEBUG. - Wait for worker or plugin output.
- Raw log text overwrites the TUI frame.
The same result occurs when a plugin calls process.stderr.write(...) directly. console.error(...) is unaffected because opentui captures console.*.
Expected behavior
External writes must not paint over the active TUI frame.
Operating System
macOS 26.6.1
Terminal
iTerm2
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.