(exitState: ExitState)
| 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>; |
| 421 | } |
| 422 | return <Byline>{actions}</Byline>; |
| 423 | } |
| 424 | return <Box flexDirection="column" tabIndex={0} autoFocus onKeyDown={handleKeyDown}> |
| 425 | <Dialog title="Background tasks" subtitle={<>{subtitle}</>} onCancel={handleCancel} color="background" inputGuide={renderInputGuide}> |
| 426 | {allSelectableItems.length === 0 ? <Text dimColor>No tasks currently running</Text> : <Box flexDirection="column"> |
nothing calls this directly
no outgoing calls
no test coverage detected