diff --git a/packages/cli/src/ui/components/InputPrompt.tsx b/packages/cli/src/ui/components/InputPrompt.tsx index 4d71e612..64b41466 100644 --- a/packages/cli/src/ui/components/InputPrompt.tsx +++ b/packages/cli/src/ui/components/InputPrompt.tsx @@ -39,7 +39,7 @@ export const InputPrompt: React.FC = ({ onClearScreen, config, slashCommands, - placeholder = 'Type your message or @path/to/file', + placeholder = ' Type your message or @path/to/file', height = 10, focus = true, widthFraction, @@ -349,7 +349,14 @@ export const InputPrompt: React.FC = ({ {buffer.text.length === 0 && placeholder ? ( - {placeholder} + focus ? ( + + {chalk.inverse(placeholder.slice(0, 1))} + {placeholder.slice(1)} + + ) : ( + {placeholder} + ) ) : ( linesToRender.map((lineText, visualIdxInRenderedSet) => { const cursorVisualRow = cursorVisualRowAbsolute - scrollVisualRow;