Skip to content

Commit 20719c5

Browse files
refactor(SelectPrompt): improve Text colors
1 parent f144ba5 commit 20719c5

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

src/components/SelectPrompt.tsx

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,15 @@ export function SelectPromptHint({
3737
escapeLabel = 'cancel',
3838
}: SelectPromptHintProps) {
3939
return (
40-
<Text dimColor>
41-
{message} (↑↓ + Enter to confirm, Esc to {escapeLabel})
42-
</Text>
40+
// Select option (↑↓ + Enter to confirm, Esc to cancel)
41+
<Box flexDirection="row">
42+
<Text dimColor>{message} (</Text>
43+
<Text bold>↑↓</Text>
44+
<Text dimColor> + </Text>
45+
<Text bold>Enter</Text>
46+
<Text dimColor> to confirm, </Text>
47+
<Text bold>Esc</Text>
48+
<Text dimColor> to {escapeLabel})</Text>
49+
</Box>
4350
);
4451
}

0 commit comments

Comments
 (0)