* Renders the prompt character (❯). * Teammate color overrides the default color when set.
(t0)
| 42 | * Teammate color overrides the default color when set. |
| 43 | */ |
| 44 | function 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 | } |
| 63 | export function PromptInputModeIndicator(t0) { |
| 64 | const $ = _c(6); |
| 65 | const { |
nothing calls this directly
no outgoing calls
no test coverage detected