fix(root): do not block quit on session cleanup

This commit is contained in:
ayn2op 2026-09-02 18:17:08 -04:00
parent 8b9c28ce56
commit 5122bdea4a

View file

@ -154,7 +154,7 @@ func (m *Model) Update(msg tview.Msg) tview.Cmd {
if m.inner != nil {
innerCmd = m.inner.Update(chat.QuitMsg{})
}
return tview.Sequence(innerCmd, tview.Quit())
return tview.Batch(innerCmd, tview.Quit())
}
case tview.MouseMsg, tview.PasteMsg, tview.FormSubmitMsg, tview.FormCancelMsg:
if m.modal != nil {