Commit graph

19 commits

Author SHA1 Message Date
Maas Lalani 2e4ddce3f7
fix: use program.Start 2022-10-17 20:23:59 -04:00
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 46ce0e4761 feat: allow configuration via environment variables 2022-08-04 11:22:42 -04:00
Maas Lalani 7842b83c9d
fix(confirm): readable on light theme 2022-08-03 14:06:55 -04:00
Maas Lalani bba0f3b1e0
refactor: remove unneeded set:"name=" 2022-08-03 12:28:02 -04:00
Maas Lalani 197e52a362
feat: escape as abort option (like ctrl+c) 2022-08-02 21:00:42 -04:00
Christian Muehlhaeuser 66993d8ef1
Add soft & hard linter configs & workflows (#44)
* chore: add linter configs & workflows

* fix: ignore certain linter warnings

* fix: mark errors as intentionally ignored

* fix: avoid unnecessary conversion

* fix: handle template/renderer errors

* fix: mark intentionally unused code
2022-07-30 12:32:59 -04:00
Maas Lalani 671777aa59 feat: ability to change default value of confirmation 2022-07-29 12:13:35 -04:00
Christian Rocha bc324efe3e chore(confirm): increase contrast on selected choice 2022-07-27 12:47:18 -07: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 cec8ecd782
fix(confirm): slightly change default colors 2022-07-26 17:53:52 -04: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 8f7a921e6a
docs: gum confirm 2022-07-26 16:11:36 -04:00
Maas Lalani 108a680385
feat: gum confirm 2022-07-26 15:43:26 -04:00