Skip to content

[BUG] "Console (Focused)" panel always appears on startup and cannot be closed in VS Code/VSCodium terminal (WSL2) #12945

Closed

Description

@Jecky5675

Description

Every time I start OpenCode CLI in WSL2 terminal within VS Code/VSCodium, a "Console (Focused)" panel automatically appears on startup and completely blocks the TUI interface. This panel cannot be closed or dismissed by any means without closing the entire OpenCode application.

Expected Behavior

  • OpenCode CLI should start with a clean TUI interface
  • OR the console panel should be closable without terminating the entire application
  • User should have full access to the TUI interface

Actual Behavior

  • Console panel appears on EVERY startup (100% reproducible)
  • Panel shows bootstrapping logs ending with: [ERROR] Error: The operation timed out.
  • ESC key either does nothing or closes entire OpenCode CLI
  • Ctrl+C closes the entire application instead of just the console
  • The console blocks access to the main interface
  • Input field still works but interface is not usable due to overlay

Frequency

Always - occurs on every single launch of OpenCode CLI in this environment

Additional Context

  • When running OpenCode in standalone WSL terminal (not in VS Codium), Ctrl+P can move the panel
  • In VSCodium terminal, Ctrl+P is intercepted by the editor
  • Input commands still work but the interface is unusable

Workarounds Tried

  • ✗ ESC (closes app or no effect)
  • ✗ Ctrl+C (closes entire app)
  • ✗ Ctrl+P (captured by VS Code)
  • ✗ Modifying keybinds in opencode.json
  • ✗ Already on latest version (1.1.53)
  • ✗ Restarting OpenCode (issue persists every time)

Request

Please either:

  1. Prevent this console from appearing on startup in terminal environments
  2. Add a keybind to close/toggle console that works in all terminal emulators
  3. Make the console auto-dismiss after showing logs
  4. Provide documentation for this scenario

Plugins

No response

OpenCode version

OpenCode Version: 1.1.53 (latest)

Steps to reproduce

  1. Open VSCodium (or VS Code) on Windows 10
  2. Open WSL2 terminal inside VSCodium
  3. Run opencode command
  4. Console panel appears IMMEDIATELY on every startup
  5. Try to close the console using ESC, Ctrl+C, or any other key combination

Screenshot and/or share link

Image Image

Operating System

Windows 10 22H2 (Build 19045)(WSL 2.6.3.0 on the ubuntu image)

Terminal

VSCodium integrated terminal or terminal powershell

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Feb 10, 2026
  2. github-actions commented on Feb 10, 2026

    @github-actions
    Contributor

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

    For keybind-related issues, please also check our pinned keybinds documentation: #4997

  3. github-actions commented on Apr 12, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

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 opentuiwindows

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions