Skip to content

/exit sometimes does not close the terminal — requires Ctrl+C #442

@claell

Description

@claell

Description

The /exit command sometimes does not close the terminal application. I have to press Ctrl+C to actually exit. I waited several seconds, sometimes over 10 seconds, before resorting to force-killing it.

Environment

  • CommandCode version: 0.30.1
  • OS: Windows (win32-x64)
  • Node.js: v22.17.0
  • Installation: npm install -g command-code

Steps to Reproduce

  1. Start command-code
  2. Use it normally (chat, code generation, etc.)
  3. Type /exit and press Enter
  4. Expected: Application closes and returns to the shell prompt
  5. Actual: Application hangs. The terminal stays open and I have to press Ctrl+C to regain control

Notes

  • I did not explicitly configure any MCP servers — this is a plain install with default config
  • The hang is not consistent — sometimes /exit works, sometimes it doesn't
  • Waited up to 10+ seconds before force-killing with Ctrl+C

Possibly Related

Metadata

Metadata

Assignees

No one assigned

    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