pulsar-shell CTRL-C should be interpreted as cancel the current command and should not exit the shell #19218
Closed
2 tasks done
Labels
type/enhancement
The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages
Search before asking
Motivation
When running pulsar-shell, CTRL-C should be used to cancel the current pulsar command instead of a full exit of the program. This would make the behavior more similar to bash and the python shell.
For example, let's say I mistype a command.
Then I want to cancel the current pulsar command, but still stay in the pulsar-shell.
Solution
Catch the CTRL-C and just cancel the current pulsar command instead of exiting completely.
Alternatives
No response
Anything else?
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: