Skip to content

CLI crashes when I press the undo command "Ctrl + z" #460

@AhmadRaza365

Description

@AhmadRaza365

Summary

CLI crashes when I press the undo command "Ctrl + z". It shows this error on the terminal:

✖ CRITICAL: Uncaught Exception!
This is an unexpected error. Please file a bug report at https://github.com/CommandCodeAI/command-code/issues/new
✖ ERROR → TypeError
ℹ REASON → Unknown signal: SIGTSTP
ℹ ERROR STACK ↓
 TypeError [ERR_UNKNOWN_SIGNAL]: Unknown signal: SIGTSTP
    at process.kill (node:internal/process/per_thread:272:15)
    at Timeout._onTimeout (file:///C:/Users/ahmad/AppData/Local/nvm/v24.11.1/node_modules/command-code/dist/index.mjs:295:111134)
    at listOnTimeout (node:internal/timers:605:17)
    at process.processTimers (node:internal/timers:541:7)

ℹ Request ID: req_e6b6bf6d5e1f5bc0fbd111a7f63ef2a7
  Share this ID with support to help debug your issue.

Expected Behavior

It should undo the change that was made

Actual Behavior

It crashes and stops working. I have to restart the CLI again

Steps to reproduce the issue

  1. Start commandcode CLI
  2. Type anything in the prompt
  3. Now try to undo the changes. by pressing "Ctrl + z" shortcut key

Command Code Version

0.32.1

Operating System

Windows

Terminal/IDE

Powershell terminal

Shell

Powershell

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions