MCPcopy Create free account
hub / github.com/freecodexyz/free-code / renderInputGuide

Function renderInputGuide

src/components/tasks/BackgroundTasksDialog.tsx:418–423  ·  view source on GitHub ↗
(exitState: ExitState)

Source from the content-addressed store, hash-verified

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">

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected