fixed u/d in tui
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user