We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da741b0 commit 669ece5Copy full SHA for 669ece5
1 file changed
pkg/tui/tui.go
@@ -396,7 +396,11 @@ func (a *appModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
396
if a.dialog.Open() {
397
u, dialogCmd := a.dialog.Update(msg)
398
a.dialog = u.(dialog.Manager)
399
- return a, dialogCmd
+
400
+ updated, cmdChatPage := a.chatPage.Update(msg)
401
+ a.chatPage = updated.(chat.Page)
402
403
+ return a, tea.Batch(dialogCmd, cmdChatPage)
404
}
405
406
updated, cmdCompletions := a.completions.Update(msg)
0 commit comments