Bind to shift+tab to cycle through fields in reverse

This commit is contained in:
Christian Rocha 2020-02-19 18:34:36 -05:00
parent a684bf4701
commit 8129727c22
No known key found for this signature in database
GPG Key ID: D6CC7A16E5878018

View File

@ -54,7 +54,7 @@ func update(msg tea.Msg, model tea.Model) (tea.Model, tea.Cmd) {
// Cycle between inputs
case "tab":
fallthrough
case "esc": // note: shift+tab sends an escape
case "shift+tab":
fallthrough
case "enter":
fallthrough