Skip to content

Commit

Permalink
fix(confirm): remove tab / shift+tab to toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
maaslalani committed Jul 24, 2024
1 parent dad7190 commit 41be8ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keymap.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ func NewDefaultKeyMap() *KeyMap {
Prev: key.NewBinding(key.WithKeys("shift+tab"), key.WithHelp("shift+tab", "back")),
Next: key.NewBinding(key.WithKeys("enter", "tab"), key.WithHelp("enter", "next")),
Submit: key.NewBinding(key.WithKeys("enter"), key.WithHelp("enter", "submit")),
Toggle: key.NewBinding(key.WithKeys("h", "l", "right", "left", "tab", "shift+tab"), key.WithHelp("←/→", "toggle")),
Toggle: key.NewBinding(key.WithKeys("h", "l", "right", "left"), key.WithHelp("←/→", "toggle")),
Accept: key.NewBinding(key.WithKeys("y", "Y"), key.WithHelp("y", "Yes")),
Reject: key.NewBinding(key.WithKeys("n", "N"), key.WithHelp("n", "No")),
},
Expand Down

0 comments on commit 41be8ec

Please sign in to comment.