Skip to content

TUI is overwritten by raw plugin or worker output #43064

Closed as not planned
Closed as not planned

Description

@spiatrenka

Description

Raw stdout/stderr writes from in-process plugins or the TUI server paint over opentui's alternate screen, making the session unreadable.

Corrupted TUI

Plugins

WarpGrep/Morph

OpenCode version

1.18.4

Steps to reproduce

  1. Run opencode --print-logs --log-level DEBUG.
  2. Wait for worker or plugin output.
  3. 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

Activity

  1. thdxr commented on Oct 11, 2026

    @thdxr
    Member

    Thanks for the report! OpenCode 2.0 is now out and development is focused on V2, so we're closing issues filed against OpenCode 1. Please upgrade (opencode upgrade --major, details: https://anoma.ly/notes/opencode-2-0), and if this is still relevant on 2.0, reopen this issue or open a new one with your 2.0 version.

    — from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions