Skip to content

After using /exit to exit opencode and then using exit to exit the PowerShell terminal, the terminal gets stuck. #8395

@79weiyi

Description

@79weiyi

Description

After using opencode /exit to exit, attempting to exit the PowerShell terminal with exit will cause it to hang.
Forcing the PowerShell window to close, or pressing Ctrl+C, and then reopening the terminal to run the opencode command will result in an error.
However, when I check the npm list, opencode still appears in the list.

Plugins

No response

OpenCode version

1.1.19

Steps to reproduce

  1. Install opencode using npm
  2. After opening opencode, use /exit to exit
  3. Use exit to close the PowerShell terminal
  4. Reopen a new PowerShell terminal and run opencode

Screenshot and/or share link

No response

Operating System

windows11

Terminal

powershell

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingwindows

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