fixed u/d in tui

This commit is contained in:
Luxferre
2026-03-22 18:17:11 +02:00
parent 359afa64f4
commit 31b7e7042b
2 changed files with 7 additions and 2 deletions
+5 -1
View File
@@ -421,7 +421,11 @@ func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
}
m.textarea, tiCmd = m.textarea.Update(msg)
m.viewport, vpCmd = m.viewport.Update(msg)
if _, ok := msg.(tea.KeyMsg); !ok {
m.viewport, vpCmd = m.viewport.Update(msg)
}
return m, tea.Batch(tiCmd, vpCmd)
}