Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Graceful command cancellation with ESC Key #129

Open
pedroflor opened this issue Dec 27, 2024 · 0 comments
Open

Feature Request: Graceful command cancellation with ESC Key #129

pedroflor opened this issue Dec 27, 2024 · 0 comments

Comments

@pedroflor
Copy link

pedroflor commented Dec 27, 2024

Feature Request: Graceful command cancellation with ESC Key

Again, thank you for this amazing project – it's been incredibly useful!

Currently, when a command is executed and waits for user input, the only way to cancel it is by pressing Ctrl+C. However, this results in an error: interrupt, which feels abrupt and might not be ideal in certain scenarios.

Suggested Improvement:

Add support for the ESC key to gracefully cancel the current command without triggering an error message.

  • Behavior: Pressing ESC would cleanly exit the command and return to the prompt without showing an error.
  • Benefit: Provides a smoother user experience, especially when handling optional user inputs.

Thank you for considering this improvement, and I appreciate all the hard work put into maintaining this tool! 🚀

@pedroflor pedroflor changed the title Feature Request: Graceful Command Cancellation with ESC Key Feature Request: Graceful command cancellation with ESC Key Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant