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
[REQUEST] make <c-c> capturable with RawKey hook #5143
Comments
asynchronous subshells already ignore SIGINT by default, see 7b93567 (Reset SIGINT handler in background processes, 2024-03-29) and others |
To elaborate, if your plugin does something like this:
the |
The current way to avoid SIGINT for long running processes is to use |
Oh, I see, thank you, I will check it out to see if it fits my usecase, but I still think it would be useful to capture C-c, maybe not remap it, but capturing would be nice. |
Feature
Make
hook <scope> RawKey <c-c>
correctly capture the event when is pressed.Usecase
Hi, I understand why does what it does, but I think when some plugins that use long running processes want to be somehow resilient to sigint propagation, this would be very handy, there might be better ideas to work this around, like having better process management, I don't know if this is something that will be improved in the future, thanks!
The text was updated successfully, but these errors were encountered: