返回 DeepSeek-Reasonix
chat_tui_inbox_keys.go
根目录 / internal / cli / chat_tui_inbox_keys.go
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
16 lines GO