mirror of
https://github.com/charmbracelet/glow.git
synced 2026-08-20 07:04:17 +02:00
View errors with "!"
This commit is contained in:
parent
74aad5324a
commit
a35d83d5d2
1 changed files with 2 additions and 2 deletions
|
|
@ -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"}...)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue