Skip to content

Regression on Windows: /exit freezes Hyper and alacritty terminal and force-closes PowerShell in v1.14.19, but works in v1.14.18 #23720

@reimurashiki

Description

@reimurashiki

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

  1. Install OpenCode v1.14.19 on Windows.
  2. Open Hyper Terminal, PowerShell standalone, or Alacritty.
  3. Launch opencode.
  4. Start a normal session.
  5. Run /exit.
  6. Observe that the terminal freezes or force-closes.

Regression check:

  1. Downgrade to OpenCode v1.14.18.
  2. Repeat the same steps.
  3. 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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions