summaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorChristian Rocha <christian@rocha.is>2020-07-16 16:51:44 -0400
committerChristian Muehlhaeuser <muesli@gmail.com>2020-10-05 13:50:04 +0200
commita35d83d5d25dc4ebf4d8545866a156403ca06e75 (patch)
treee6fcfac85833e93a025ee48ac0a8456baaf67c90 /ui
parent74aad5324ace6f51e74717556bea8d9d24420453 (diff)
View errors with "!"
Diffstat (limited to 'ui')
-rw-r--r--ui/stash.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/stash.go b/ui/stash.go
index b5b7765..f96d4f2 100644
--- a/ui/stash.go
+++ b/ui/stash.go
@@ -341,7 +341,7 @@ func stashUpdate(msg tea.Msg, m stashModel) (stashModel, tea.Cmd) {
m.state = stashStatePromptDelete
}
- case "r":
+ case "!":
if m.err != nil && m.state == stashStateReady {
m.state = stashStateShowingError
return m, nil
@@ -615,7 +615,7 @@ func stashHelpView(m stashModel) string {
h = append(h, []string{"x: delete", "m: set memo"}...)
}
if m.err != nil {
- h = append(h, []string{"r: errors"}...)
+ h = append(h, []string{"!: errors"}...)
}
h = append(h, []string{"esc: exit"}...)
}