MCPcopy Create free account
hub / github.com/codeaashu/claude-code / PromptChar

Function PromptChar

src/components/PromptInput/PromptInputModeIndicator.tsx:44–62  ·  view source on GitHub ↗

* Renders the prompt character (❯). * Teammate color overrides the default color when set.

(t0)

Source from the content-addressed store, hash-verified

42 * Teammate color overrides the default color when set.
43 */
44function PromptChar(t0) {
45 const $ = _c(3);
46 const {
47 isLoading,
48 themeColor
49 } = t0;
50 const teammateColor = themeColor;
51 const color = teammateColor ?? (false ? "subtle" : undefined);
52 let t1;
53 if ($[0] !== color || $[1] !== isLoading) {
54 t1 = <Text color={color} dimColor={isLoading}>{figures.pointer} </Text>;
55 $[0] = color;
56 $[1] = isLoading;
57 $[2] = t1;
58 } else {
59 t1 = $[2];
60 }
61 return t1;
62}
63export function PromptInputModeIndicator(t0) {
64 const $ = _c(6);
65 const {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected