Skip to content

TUI hangs when shell outputs massive log #4239

Closed

Description

@conradkoh

Description

When I ran a test in project that was outputting many lines (~35k lines), the whole TUI just hangs. It will eventually work.

Additionally, I found that if I have an extension like Kilo Code installed, the error escalates and causes VSCode to lose track of the terminal process that requires a hard restart of all VSCode instances.

OpenCode version

1.0.61

Steps to reproduce

Ask opencode to execute a command that writes a lot of data to stdout

Screenshot and/or share link

No response

Operating System

MacOS Sequoia 15.7

Terminal

iTerm2 / VSCode

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Nov 12, 2025
  2. github-actions commented on Nov 12, 2025

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    • Critical Stability Issues: App Freezing & Hanging Analysis #731: Critical Stability Issues: App Freezing & Hanging Analysis - This comprehensive analysis specifically mentions "File System Bottlenecks" where "Large files (multi-GB .tar.gz) cause indefinite hangs" and "Synchronous file operations without size limits" causing "Complete app freeze". Your 35k line output issue falls into similar category of large output handling problems.
    • Text rendering is VERY slow (and CPU usage is really high even when idle) #811: Text rendering is VERY slow (and CPU usage is really high even when idle) - Reports similar symptoms where "text rendering is incredibly slow" and "operations are happening quickly but don't see the messages in opencode until minutes after", which matches your description of TUI hanging but eventually working.
    • Bug: opencode run and TUI exits hang on v0.15+ #3213: Bug: opencode run and TUI exits hang on v0.15+ - Reports TUI hanging issues where "the process keeps running until interrupted with Ctrl+C"

    Feel free to ignore if none of these address your specific case.

  3. self-assigned this
    on Nov 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentui

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions