diff --git a/web_app/src/components/PromptInput.tsx b/web_app/src/components/PromptInput.tsx index 8a72776..abd0891 100644 --- a/web_app/src/components/PromptInput.tsx +++ b/web_app/src/components/PromptInput.tsx @@ -46,7 +46,7 @@ const PromptInput = () => { } const onKeyUp = (e: React.KeyboardEvent) => { - if (e.key === "Enter" && !isProcessing) { + if (e.key === "Enter" && e.ctrlKey && prompt.length !== 0) { handleRepaintClick() } }