MCPcopy Create free account
hub / github.com/WJX20/claude-code / PromptInputHelpMenu

Function PromptInputHelpMenu

src/components/PromptInput/PromptInputHelpMenu.tsx:22–357  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

20 paddingX?: number;
21};
22export function PromptInputHelpMenu(props) {
23 const $ = _c(99);
24 const {
25 dimColor,
26 fixedWidth,
27 gap,
28 paddingX
29 } = props;
30 const t0 = useShortcutDisplay("app:toggleTranscript", "Global", "ctrl+o");
31 let t1;
32 if ($[0] !== t0) {
33 t1 = formatShortcut(t0);
34 $[0] = t0;
35 $[1] = t1;
36 } else {
37 t1 = $[1];
38 }
39 const transcriptShortcut = t1;
40 const t2 = useShortcutDisplay("app:toggleTodos", "Global", "ctrl+t");
41 let t3;
42 if ($[2] !== t2) {
43 t3 = formatShortcut(t2);
44 $[2] = t2;
45 $[3] = t3;
46 } else {
47 t3 = $[3];
48 }
49 const todosShortcut = t3;
50 const t4 = useShortcutDisplay("chat:undo", "Chat", "ctrl+_");
51 let t5;
52 if ($[4] !== t4) {
53 t5 = formatShortcut(t4);
54 $[4] = t4;
55 $[5] = t5;
56 } else {
57 t5 = $[5];
58 }
59 const undoShortcut = t5;
60 const t6 = useShortcutDisplay("chat:stash", "Chat", "ctrl+s");
61 let t7;
62 if ($[6] !== t6) {
63 t7 = formatShortcut(t6);
64 $[6] = t6;
65 $[7] = t7;
66 } else {
67 t7 = $[7];
68 }
69 const stashShortcut = t7;
70 const t8 = useShortcutDisplay("chat:cycleMode", "Chat", "shift+tab");
71 let t9;
72 if ($[8] !== t8) {
73 t9 = formatShortcut(t8);
74 $[8] = t8;
75 $[9] = t9;
76 } else {
77 t9 = $[9];
78 }
79 const cycleModeShortcut = t9;

Callers

nothing calls this directly

Calls 9

useShortcutDisplayFunction · 0.85
formatShortcutFunction · 0.85
featureFunction · 0.85
getNewlineInstructionsFunction · 0.85
getPlatformFunction · 0.85
isFastModeEnabledFunction · 0.85
isFastModeAvailableFunction · 0.85

Tested by

no test coverage detected