Replies: 2 comments 3 replies
-
Personally, (and I may be wrong + open to other opinions) think of Esc (in gum confirm) as a shortcut to pressing "No" (similar to "n/N") rather than a full cancel option. I probably wouldn't expect everything to cancel as if I had press ctrl+c, but rather just skip / say "No" to the current prompt. |
Beta Was this translation helpful? Give feedback.
2 replies
-
This should be fixed with 36ef761 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Since
gum confirm
is like a GUI dialog and on all graphical platforms ESC is interpreted as “pressing cancel” I’m not sure ESC should have an exit code of130
. Maybe I’m wrong, but in my scripts I'd like to handle ⌃C as “abort” and ESC as “the user pressed cancel”. Then I can doBeta Was this translation helpful? Give feedback.
All reactions