From d67ea583c7c1107609479b62f50a9e7d9e4c88c1 Mon Sep 17 00:00:00 2001 From: yongsk0066 Date: Mon, 22 Sep 2025 21:59:57 +0900 Subject: [PATCH] fix: correct IME composition handling with Shift+Enter --- src/components/chat-item/chat-prompt-input.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/chat-item/chat-prompt-input.ts b/src/components/chat-item/chat-prompt-input.ts index b90692ead..79030236c 100644 --- a/src/components/chat-item/chat-prompt-input.ts +++ b/src/components/chat-item/chat-prompt-input.ts @@ -417,8 +417,7 @@ export class ChatPromptInput { this.clearTextArea(true); } } else if (e.key === KeyMap.ENTER && - ((!e.isComposing && !e.shiftKey && !e.ctrlKey) || - (e.isComposing && (e.shiftKey)))) { + !e.isComposing && !e.shiftKey && !e.ctrlKey) { cancelEvent(e); this.sendPrompt(); } else if (