diff --git a/internal/tui/tui.go b/internal/tui/tui.go index 62d38fd595d876dad2a384f155cc01d62db59cc9..7bcbdaae5051620756594db7d8f38e757111b1cb 100644 --- a/internal/tui/tui.go +++ b/internal/tui/tui.go @@ -253,6 +253,13 @@ func (a *appModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) { case tea.KeyPressMsg: return a, a.handleKeyPressMsg(msg) + case tea.MouseWheelMsg: + if !a.dialog.HasDialogs() { + updated, pageCmd := a.pages[a.currentPage].Update(msg) + a.pages[a.currentPage] = updated.(util.Model) + cmds = append(cmds, pageCmd) + } + return a, tea.Batch(cmds...) case tea.PasteMsg: if a.dialog.HasDialogs() { u, dialogCmd := a.dialog.Update(msg)