Description
When exiting the TUI (via /quit, /exit, or tab-completed /quit), the entire terminal window/tab closes instead of returning to the shell prompt. This happens both with bun run dev and the bundled opencode command on Windows 11.
Plugins
No response
OpenCode version
1.15.0
Steps to reproduce
- Start opencode TUI (bun run dev or opencode)
- Type /qui then press Tab to autocomplete to /quit or type /quit and press enter or Ctrl + C to quit
- Expected behavior: TUI exits, shell prompt is restored, terminal window stays open.
- Actual behavior: TUI exits and the entire terminal window/tab closes. The shell prompt never gets a chance to render.
Screenshot and/or share link
Operating System
Windows 11
Terminal
PowerShell 7.6.1
Description
When exiting the TUI (via /quit, /exit, or tab-completed /quit), the entire terminal window/tab closes instead of returning to the shell prompt. This happens both with bun run dev and the bundled opencode command on Windows 11.
Plugins
No response
OpenCode version
1.15.0
Steps to reproduce
Screenshot and/or share link
Operating System
Windows 11
Terminal
PowerShell 7.6.1