How does gum [choose] handle SIGINT? #510
iconoclasthero
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have gum choose calling another gum choose and SIGINT (^c) doesn't end the program. Took a stroll over to #bash and was given this in response to the !sigint faq: https://www.cons.org/cracauer/sigint.html.
It would seem that gum is catching SIGINT and not passing it along? Namely:
results in
Still here
indicating the calling shell didn't receive the SIGINT from gum.If I am mistaken, I'd love to be able to handle this simply, but otherwise is this a feature that can/should be implemented and if it can't what does that realistically mean for its use in scripts?
Beta Was this translation helpful? Give feedback.
All reactions