fix: add back suspend
commit1fad83be4a3fb73b18047e00a68af5e3b29e3322
authorKujtim Hoxha <kujtimii.h@gmail.com>
dateThu 22 Jan 2026, 15:35 (9 months ago)
parent4cf6af0
internal/ui/model/ui.go+7
@@ -1332,6 +1332,13 @@ func (m *UI) handleKeyPressMsg(msg tea.KeyPressMsg) tea.Cmd {
13321332 }
13331333 return true
13341334 }
1335+ case key.Matches(msg, m.keyMap.Suspend):
1336+ if m.isAgentBusy() {
1337+ cmds = append(cmds, uiutil.ReportWarn("Agent is busy, please wait..."))
1338+ return true
1339+ }
1340+ cmds = append(cmds, tea.Suspend)
1341+ return true
13351342 }
13361343 return false
13371344 }