diff options
Diffstat (limited to 'packages/cli/src/ui/components/InputPrompt.tsx')
| -rw-r--r-- | packages/cli/src/ui/components/InputPrompt.tsx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/packages/cli/src/ui/components/InputPrompt.tsx b/packages/cli/src/ui/components/InputPrompt.tsx index dcfdace3..3a87b76e 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> + <Text color={theme.text.primary}> {chalk.inverse(placeholder.slice(0, 1))} <Text color={theme.text.secondary}>{placeholder.slice(1)}</Text> </Text> @@ -600,7 +600,12 @@ export const InputPrompt: React.FC<InputPromptProps> = ({ } } return ( - <Text key={`line-${visualIdxInRenderedSet}`}>{display}</Text> + <Text + key={`line-${visualIdxInRenderedSet}`} + color={theme.text.primary} + > + {display} + </Text> ); }) )} |
