From ab38cdccac372abb0ff6e00877d16bd412cd6006 Mon Sep 17 00:00:00 2001 From: Shantur Rathore Date: Fri, 9 Jan 2026 21:10:00 +0000 Subject: [PATCH] fix(ui): simplify prompt input hints --- packages/ui/src/components/prompt-input.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/ui/src/components/prompt-input.tsx b/packages/ui/src/components/prompt-input.tsx index 07cd5ad8..6bd83631 100644 --- a/packages/ui/src/components/prompt-input.tsx +++ b/packages/ui/src/components/prompt-input.tsx @@ -1030,8 +1030,8 @@ export default function PromptInput(props: PromptInputProps) { return hasText || attachments().length > 0 } - const shellHint = () => (mode() === "shell" ? { key: "Esc", text: "to exit shell mode" } : { key: "!", text: "for shell mode" }) - const commandHint = () => ({ key: "/", text: "for commands" }) + const shellHint = () => (mode() === "shell" ? { key: "Esc", text: "to exit shell mode" } : { key: "!", text: "Shell mode" }) + const commandHint = () => ({ key: "/", text: "Commands" }) const shouldShowOverlay = () => prompt().length === 0 @@ -1216,7 +1216,7 @@ export default function PromptInput(props: PromptInputProps) { fallback={ <> - Enter for new line • to send • @ for files/agents • ↑↓ for history + Enter New line • Send • @ Files/agents • ↑↓ History 0}> • {attachments().length} file(s) attached