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

Open
opened 2026-02-16 18:11:16 -05:00 by yindo · 1 comment
Owner

Originally created by @Jecky5675 on GitHub (Feb 10, 2026).

Originally assigned to: @rekram1-node on GitHub.

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

Originally created by @Jecky5675 on GitHub (Feb 10, 2026). Originally assigned to: @rekram1-node on GitHub. ### 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 <img width="700" height="281" alt="Image" src="https://github.com/user-attachments/assets/1669c18d-3438-4d99-bbdd-2a86743e7554" /> <img width="710" height="957" alt="Image" src="https://github.com/user-attachments/assets/50c36400-fc54-4432-b80f-6a80a094cffc" /> ### Operating System Windows 10 22H2 (Build 19045)(WSL 2.6.3.0 on the ubuntu image) ### Terminal VSCodium integrated terminal or terminal powershell
yindo added the windowsopentuibug labels 2026-02-16 18:11:16 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 10, 2026):


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

  • #11275: Console window blocking the text input box in WSL
  • #9198: Console (Focused) obstructing full-window view of TUI after interrupting chat

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

@github-actions[bot] commented on GitHub (Feb 10, 2026): --- This issue might be a duplicate of existing issues. Please check: - #11275: Console window blocking the text input box in WSL - #9198: Console (Focused) obstructing full-window view of TUI after interrupting chat For keybind-related issues, please also check our pinned keybinds documentation: #4997
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8965