MCPcopy Create free account
hub / github.com/Noumena-Network/code / inputGuide

Function inputGuide

src/components/tasks/WorkflowDetailDialog.tsx:78–89  ·  view source on GitHub ↗
(exitState: { pending: boolean; keyName: string })

Source from the content-addressed store, hash-verified

76 )
77
78 const inputGuide = (exitState: { pending: boolean; keyName: string }) =>
79 exitState.pending ? (
80 <Text>Press {exitState.keyName} again to exit</Text>
81 ) : (
82 <Byline>
83 <KeyboardShortcutHint shortcut="←" action="go back" />
84 <KeyboardShortcutHint shortcut="Esc/Enter/Space" action="close" />
85 {workflow.status === 'running' && onKill && (
86 <KeyboardShortcutHint shortcut="x" action="stop" />
87 )}
88 </Byline>
89 )
90
91 return (
92 <Box flexDirection="column" tabIndex={0} autoFocus onKeyDown={handleKeyDown}>

Callers 1

DialogFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected