Open
Description
Describe the bug
Thank you for this wonderful tool.
When I run a command that allows me to make a selection interactively (e.g. nr
) and I change my mind, I hit the Escape key, expecting to return to the command line. However, instead of returning, the selected script is executed, just as if I had hit Enter.
The only difference between hitting Enter and Escape is that in the former case ✔ script to run › test
is displayed, while in the latter ✖ script to run › test
appears. In both cases the script is run.
Reproduction
Seems not applicable
System Info
This occurs both on a workstation and a VPS. For instance:
System:
OS: Linux 6.5 Ubuntu 22.04.5 LTS 22.04.5 LTS (Jammy Jellyfish)
CPU: (2) x64 AMD EPYC 7551 32-Core Processor
Memory: 262.68 MB / 947.50 MB
Container: Yes
Shell: 5.8.1 - /usr/bin/zsh
Binaries:
Node: 20.17.0 - /usr/bin/node
npm: 10.8.2 - /usr/bin/npm
Browsers:
Chromium: 128.0.6613.137
Used Package Manager
npm
Validations
- Follow our Code of Conduct
- Read the Contributing Guide.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
- The provided reproduction is a minimal reproducible of the bug.
Contributions
- I am willing to submit a PR to fix this issue
- I am willing to submit a PR with failing tests (actually just go ahead and do it, thanks!)