| 1 | package cli |
| 2 | |
| 3 | // toggleInboxPaused handles the queue-only space shortcut outside the main |
| 4 | // Update state machine so inbox UX does not add another branch to that already |
| 5 | // large input dispatcher. |
| 6 | func (m *chatTUI) toggleInboxPaused() { |
| 7 | snap := m.inboxSnap() |
| 8 | paused := !snap.Paused |
| 9 | _ = m.ctrl.SetInboxPaused(paused) |
| 10 | if paused { |
| 11 | m.notice("inbox paused") |
| 12 | return |
| 13 | } |
| 14 | m.notice("inbox resumed") |
| 15 | } |
| 16 |