mirror of
https://github.com/charmbracelet/glow
synced 2024-11-10 14:14:17 +00: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…
Reference in a new issue