fix(root): do not block quit on session cleanup
This commit is contained in:
parent
8b9c28ce56
commit
5122bdea4a
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue