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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Since
gum confirmis 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