summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/components/InputPrompt.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/cli/src/ui/components/InputPrompt.tsx')
-rw-r--r--packages/cli/src/ui/components/InputPrompt.tsx9
1 files changed, 2 insertions, 7 deletions
diff --git a/packages/cli/src/ui/components/InputPrompt.tsx b/packages/cli/src/ui/components/InputPrompt.tsx
index 3a87b76e..dcfdace3 100644
--- a/packages/cli/src/ui/components/InputPrompt.tsx
+++ b/packages/cli/src/ui/components/InputPrompt.tsx
@@ -559,7 +559,7 @@ export const InputPrompt: React.FC<InputPromptProps> = ({
<Box flexGrow={1} flexDirection="column">
{buffer.text.length === 0 && placeholder ? (
focus ? (
- <Text color={theme.text.primary}>
+ <Text>
{chalk.inverse(placeholder.slice(0, 1))}
<Text color={theme.text.secondary}>{placeholder.slice(1)}</Text>
</Text>
@@ -600,12 +600,7 @@ export const InputPrompt: React.FC<InputPromptProps> = ({
}
}
return (
- <Text
- key={`line-${visualIdxInRenderedSet}`}
- color={theme.text.primary}
- >
- {display}
- </Text>
+ <Text key={`line-${visualIdxInRenderedSet}`}>{display}</Text>
);
})
)}