-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(confirm): add accept/reject/tab keybindings to Confirm (#308)
* Added Accept and Reject key bindings to Confirm field in Keymap. ref: charmbracelet/gum#568 * with Accept and Reject key help text that matches the negative and affirmative text. Optionally disable Reject key if negative is unset. * fix(confirm): fix a bug where Yes and No buttons were not centered. ref: charmbracelet/gum#566. * fix(confirm): fix a linter error, variable names were using underscores * fix(confirm): tab / shift+tab to toggle between buttons
- Loading branch information
Showing
2 changed files
with
29 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ccca06d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@csandeep
tab
andshift+tab
don't seem to work inconfirm
; any idea why?