diff --git a/src/lib/components/InputBar.svelte b/src/lib/components/InputBar.svelte index 024aedc..96a494b 100644 --- a/src/lib/components/InputBar.svelte +++ b/src/lib/components/InputBar.svelte @@ -248,7 +248,7 @@ const hasAttachments = attachments.length > 0; // Need either a message or attachments to submit - if ((!message && !hasAttachments) || isSubmitting) return; + if ((!message && !hasAttachments) || isSubmitting || isProcessing) return; // Check for slash commands first (these work even when disconnected) if (message && isSlashCommand(message)) { @@ -768,7 +768,7 @@ User: ${formattedMessage}`; async function handleQuickAction(prompt: string): Promise { // Quick actions send the prompt directly - if (!isConnected || isSubmitting) return; + if (!isConnected || isSubmitting || isProcessing) return; // Add to history addToHistory(prompt); @@ -1018,7 +1018,7 @@ User: ${formattedMessage}`; placeholder={isConnected ? "Ask Hikari anything... (type / for commands)" : "Connect to Claude first..."} - disabled={isSubmitting} + disabled={isSubmitting || isProcessing} rows={1} style="height: {textareaHeight}px; font-size: var(--terminal-font-size, 14px); font-family: var(--terminal-font-family, monospace);" class="w-full px-4 py-3 bg-[var(--bg-secondary)] border border-[var(--border-color)]