mirror of
https://github.com/charmbracelet/glow.git
synced 2026-08-23 16:44:17 +02:00
Pressing 'q' when setting a note in the pager shouldn't cancel the note
This commit is contained in:
parent
b9c02d756b
commit
dde45d99e8
1 changed files with 0 additions and 2 deletions
|
|
@ -153,8 +153,6 @@ func pagerUpdate(msg tea.Msg, m pagerModel) (pagerModel, tea.Cmd) {
|
|||
switch m.state {
|
||||
case pagerStateSetNote:
|
||||
switch msg.String() {
|
||||
case "q":
|
||||
fallthrough
|
||||
case "esc":
|
||||
m.state = pagerStateBrowse
|
||||
return m, nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue