on main help sign in
fix: add back suspend
1fad83bKujtim Hoxha
internal/ui/model/ui.go+7
@@ -1332,6 +1332,13 @@ func (m *UI) handleKeyPressMsg(msg tea.KeyPressMsg) tea.Cmd {
1332 }
1332 }
1333 return true
1333 return true
1334 }
1334 }
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
1335 }
1342 }
1336 return false
1343 return false
1337 }
1344 }