@@ -253,6 +253,13 @@ func (a *appModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
253 case tea.KeyPressMsg:
253 case tea.KeyPressMsg:
254 return a, a.handleKeyPressMsg(msg)
254 return a, a.handleKeyPressMsg(msg)
256+ case tea.MouseWheelMsg:
257+ if !a.dialog.HasDialogs() {
258+ updated, pageCmd := a.pages[a.currentPage].Update(msg)
259+ a.pages[a.currentPage] = updated.(util.Model)
260+ cmds = append(cmds, pageCmd)
262+ return a, tea.Batch(cmds...)
256 case tea.PasteMsg:
263 case tea.PasteMsg:
257 if a.dialog.HasDialogs() {
264 if a.dialog.HasDialogs() {
258 u, dialogCmd := a.dialog.Update(msg)
265 u, dialogCmd := a.dialog.Update(msg)