diff --git a/apps/x/apps/renderer/src/components/chat-input-with-mentions.tsx b/apps/x/apps/renderer/src/components/chat-input-with-mentions.tsx index 18010836..391c9d14 100644 --- a/apps/x/apps/renderer/src/components/chat-input-with-mentions.tsx +++ b/apps/x/apps/renderer/src/components/chat-input-with-mentions.tsx @@ -488,7 +488,17 @@ function ChatInputInner({ /> {isRecording ? ( /* ── Recording bar ── */ -
+
el?.focus()} + onKeyDown={(e) => { + if (e.key === 'Enter' && !e.shiftKey && recordingText?.trim()) { + e.preventDefault() + onSubmitRecording?.() + } + }} + >