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 placeholderText = "Ask anything, @ for context, / for slash commands";
if (inputText.length === 0) {
return (
<>
{inputMode && !isWaitingForResponse && (
<Text color="gray">▋Type your message...</Text>
<Text color="gray">▋{placeholderText}</Text>
)}
{(!inputMode || isWaitingForResponse) && (
<Text color="gray">Type your message...</Text>
<Text color="gray">{placeholderText}</Text>
)}
</>
);
@ -149,4 +150,4 @@ const UserInput: React.FC<UserInputProps> = ({
);
};
export default UserInput;
export default UserInput;