Skip to content

Issue with Ctrl-break in VSC Powershell #49

@nocodehummel

Description

@nocodehummel

After exiting rdcli in a Powershell terminal in VSC and starting a Node.js server, that server does not respond to Ctrl-break (SIGTERM). I have tested many scenarios to find a root-cause and this is somehow caused by this Redis client in the following reproduction path.

  1. Open a Powershell terminal in VSC.
  2. Execute rdcli to connect with a remote Redis instance.
  3. exit the Redis client (with/without any other command).
  4. Start Node.js server with npm run next.
  5. Ctrl-break is not working to stop the server.

According the Node.js documentation SIGTERM in Windows does not work when the terminal raw mode is enabled. A search on this repo does however not give any hits on setRawMode.

It would be great if this annoyance could be resolved.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions