mirror of
https://github.com/charmbracelet/glow.git
synced 2026-08-20 07:04:17 +02:00
The q key should quit when browsing a list of filtered documents
This commit is contained in:
parent
000a0baae8
commit
005aa65d7b
1 changed files with 2 additions and 1 deletions
3
ui/ui.go
3
ui/ui.go
|
|
@ -245,7 +245,8 @@ func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
|
|||
case stateShowStash:
|
||||
|
||||
switch m.stash.state {
|
||||
case stashStateSettingNote, stashStatePromptDelete, stashStateShowingError, stashStateSearchNotes, stashStateShowFiltered:
|
||||
case stashStateSettingNote, stashStatePromptDelete,
|
||||
stashStateShowingError, stashStateSearchNotes:
|
||||
m.stash, cmd = stashUpdate(msg, m.stash)
|
||||
return m, cmd
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue