Commit graph

11 commits

Author SHA1 Message Date
Maas Lalani f69fc23242 fix: don't allow selecting negative value if it is an empty string 2022-10-06 13:30:05 -04:00
Kevin Pham a4d4793829 fix(confirm): an empty --negative will not be displayed
This change will hide the normally "No" button when the text is empty. In most cases, this will serve as an acknowledgement and the affirmative message would likely change.

This seems to be better than displaying an empty button.

Resolves #145
2022-10-06 13:30:05 -04:00
Maas Lalani c1a1a73a0e
feat: add timeout on confirm options & messages (#111)
Co-authored-by: Christoper Hans <4262799+ChrHan@users.noreply.github.com>
2022-08-08 13:57:55 -04:00
Maas Lalani 1479184f3f fix: satisfy all linters 2022-08-05 02:33:40 -04:00
Maas Lalani 197e52a362
feat: escape as abort option (like ctrl+c) 2022-08-02 21:00:42 -04:00
Maas Lalani 671777aa59 feat: ability to change default value of confirmation 2022-07-29 12:13:35 -04:00
Christian Rocha c78ac9cf6b chore(confirm): bind n and N to the negative response 2022-07-27 12:47:18 -07:00
Christian Rocha 43b8733f93 chore(confirm): also select with tab/shift+tab 2022-07-27 12:47:18 -07:00
Maas Lalani 942bf8091d
feat: Add y/Y shorthand for affirmative action 2022-07-26 16:28:58 -04:00
Maas Lalani ff63ec43f9
feat: remove gum confirm vertical option 2022-07-26 16:17:32 -04:00
Maas Lalani 108a680385
feat: gum confirm 2022-07-26 15:43:26 -04:00