fix: adjust placeholder

This commit is contained in:
Nate 2025-07-13 18:28:45 -07:00
parent 837ac2d5c3
commit 94e6f12924

View file

@ -68,14 +68,15 @@ const UserInput: React.FC<UserInputProps> = ({
}); });
const renderInputText = () => { const renderInputText = () => {
const placeholderText = "Ask anything, @ for context, / for slash commands";
if (inputText.length === 0) { if (inputText.length === 0) {
return ( return (
<> <>
{inputMode && !isWaitingForResponse && ( {inputMode && !isWaitingForResponse && (
<Text color="gray">▋Type your message...</Text> <Text color="gray">▋{placeholderText}</Text>
)} )}
{(!inputMode || isWaitingForResponse) && ( {(!inputMode || isWaitingForResponse) && (
<Text color="gray">Type your message...</Text> <Text color="gray">{placeholderText}</Text>
)} )}
</> </>
); );