Description
After upgrading OpenCode from v1.14.18 to v1.14.19 on Windows, /exit no longer exits cleanly on some terminal hosts.
In v1.14.18, OpenCode exits normally.
In v1.14.19, Hyper Terminal freezes after /exit and must be ended from Task Manager. PowerShell standalone force-closes after /exit. Alacritty also reproduces the issue.
The issue does not happen in VS Code Terminal, and it also does not happen in Windows Terminal.
I already tested the following:
- Disabled plugins
- Updated Git for Windows
- Tested with both PowerShell and Git Bash for Windows
- Downgraded back to v1.14.18, where the issue disappears
This appears to be a regression introduced in v1.14.19.
Plugins
oh-my-opencode-slim and @mohak34/opencode-notifier@latest
OpenCode version
v1.14.19
Steps to reproduce
- Install OpenCode v1.14.19 on Windows.
- Open Hyper Terminal, PowerShell standalone, or Alacritty.
- Launch
opencode.
- Start a normal session.
- Run
/exit.
- Observe that the terminal freezes or force-closes.
Regression check:
- Downgrade to OpenCode v1.14.18.
- Repeat the same steps.
- Observe that
/exit works normally.
Screenshot and/or share link
No response
Operating System
Windows 11
Terminal
Alacritty, Hyper, Powershell, Windows Terminal, VS Code Terminal
Description
After upgrading OpenCode from v1.14.18 to v1.14.19 on Windows,
/exitno longer exits cleanly on some terminal hosts.In v1.14.18, OpenCode exits normally.
In v1.14.19, Hyper Terminal freezes after
/exitand must be ended from Task Manager. PowerShell standalone force-closes after/exit. Alacritty also reproduces the issue.The issue does not happen in VS Code Terminal, and it also does not happen in Windows Terminal.
I already tested the following:
This appears to be a regression introduced in v1.14.19.
Plugins
oh-my-opencode-slim and @mohak34/opencode-notifier@latest
OpenCode version
v1.14.19
Steps to reproduce
opencode./exit.Regression check:
/exitworks normally.Screenshot and/or share link
No response
Operating System
Windows 11
Terminal
Alacritty, Hyper, Powershell, Windows Terminal, VS Code Terminal