From b4fca046a838e6a2afc2ca7d7e6b5adf914ded60 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Sun, 2 Jun 2024 22:36:23 -0700 Subject: [PATCH] fix --- src/lib/components/chat/MessageInput.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/components/chat/MessageInput.svelte b/src/lib/components/chat/MessageInput.svelte index 81f1ecd10..bc10a6638 100644 --- a/src/lib/components/chat/MessageInput.svelte +++ b/src/lib/components/chat/MessageInput.svelte @@ -833,7 +833,7 @@ ]?.at(-1); if (!commandOptionButton) { - if (e.key === 'Enter' && !e.shiftKey && prompt !== '' && selected) { + if (e.key === 'Enter' && !e.shiftKey && prompt !== '') { submitPrompt(prompt, user); return; }