()
| 413 | </Text>] : [])], index => <Text key={`separator-${index}`}> · </Text>); |
| 414 | const actions = [<KeyboardShortcutHint key="upDown" shortcut="↑/↓" action="select" />, <KeyboardShortcutHint key="enter" shortcut="Enter" action="view" />, ...(currentSelection?.type === 'in_process_teammate' && currentSelection.status === 'running' ? [<KeyboardShortcutHint key="foreground" shortcut="f" action="foreground" />] : []), ...((currentSelection?.type === 'local_bash' || currentSelection?.type === 'local_agent' || currentSelection?.type === 'in_process_teammate' || currentSelection?.type === 'local_workflow' || currentSelection?.type === 'monitor_mcp' || currentSelection?.type === 'dream' || currentSelection?.type === 'remote_agent') && currentSelection.status === 'running' ? [<KeyboardShortcutHint key="kill" shortcut="x" action="stop" />] : []), ...(agentTasks.some(t => t.status === 'running') ? [<KeyboardShortcutHint key="kill-all" shortcut={killAgentsShortcut} action="stop all agents" />] : []), <KeyboardShortcutHint key="esc" shortcut="←/Esc" action="close" />]; |
| 415 | const handleCancel = () => onDone('Background tasks dialog dismissed', { |
| 416 | display: 'system' |
| 417 | }); |
| 418 | function renderInputGuide(exitState: ExitState): React.ReactNode { |
| 419 | if (exitState.pending) { |
| 420 | return <Text>Press {exitState.keyName} again to exit</Text>; |
no test coverage detected