From 1fad83be4a3fb73b18047e00a68af5e3b29e3322 Mon Sep 17 00:00:00 2001 From: Kujtim Hoxha Date: Thu, 22 Jan 2026 15:35:38 +0100 Subject: [PATCH] fix: add back suspend --- internal/ui/model/ui.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/internal/ui/model/ui.go b/internal/ui/model/ui.go index 634b410ef74d5eb00e9d6e55dd1a87cc850c5d86..fa1ffed72bd02a38a00b187cbf749cc2c74af2b1 100644 --- a/internal/ui/model/ui.go +++ b/internal/ui/model/ui.go @@ -1332,6 +1332,13 @@ func (m *UI) handleKeyPressMsg(msg tea.KeyPressMsg) tea.Cmd { } return true } + case key.Matches(msg, m.keyMap.Suspend): + if m.isAgentBusy() { + cmds = append(cmds, uiutil.ReportWarn("Agent is busy, please wait...")) + return true + } + cmds = append(cmds, tea.Suspend) + return true } return false }