pgier opened a new issue, #19218:
URL: https://github.com/apache/pulsar/issues/19218

   ### Search before asking
   
   - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) 
and found nothing similar.
   
   
   ### 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.
   
       > admin topics list pblic/default
   
   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?
   
   - [X] I'm willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@pulsar.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to