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

Closed as not planned

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

Activity

  1. added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on Apr 21, 2026
  2. rekram1-node commented on Apr 21, 2026

    @rekram1-node
    Collaborator

    This should be fixed on latest

  3. EdwinStep commented on Apr 22, 2026

    @EdwinStep

    This issue is still present in v1.14.20

  4. Hona commented on Apr 22, 2026

    @Hona
    Member

    @EdwinStep can you please send a screen recording

  5. EdwinStep commented on Apr 22, 2026

    @EdwinStep

    Huh, strange, can't reproduce anymore. Maybe it is not consistent. If I face it again, I'll send a recording.

  6. reimurashiki commented on Apr 26, 2026

    @reimurashiki
    Author

    This issue appears to be happening again on OpenCode v1.14.25 on Windows 11.
    I retested the same scenario and /exit still causes terminal freeze / force-close on Hyper, PowerShell standalone, and Alacritty.
    It still does not reproduce in Windows Terminal / VS Code Terminal.

  7. breggles commented on May 1, 2026

    @breggles

    Still happens for me in 1.14.31. Alacritty 0.17.0, pwsh 7.6.1, latest Windows 11

  8. breggles commented on May 1, 2026

    @breggles

    PS: happens (almost) every time for me.

    alacritty-crash.mp4
  9. removed
    bugSomething isn't working
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on May 3, 2026
  10. github-actions commented on Aug 15, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 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

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions