mirror of
https://github.com/charmbracelet/glow.git
synced 2026-08-21 15:44:17 +02:00
Fix case where pager commands could be lost
This commit is contained in:
parent
d941957b92
commit
b31aba3c4e
1 changed files with 1 additions and 1 deletions
2
ui/ui.go
2
ui/ui.go
|
|
@ -196,7 +196,7 @@ func update(msg tea.Msg, mdl tea.Model) (tea.Model, tea.Cmd) {
|
|||
// processing
|
||||
newPagerModel, cmd := pagerUpdate(msg, m.pager)
|
||||
m.pager = newPagerModel
|
||||
cmds = append(batch, cmd)
|
||||
batch = append(batch, cmd)
|
||||
}
|
||||
return m, tea.Batch(batch...)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue