Fix: Prevent auto-send when pressing Enter with a non-English input method (#700)

Wabifocus committed Aug 25, 2025 at 04:00 UTC 8aab59165daff92a681f278e4cc64452adfcbcdb
1 file changed +1 -1
webui/index.js
+1 -1
@@ -188,7 +188,7 @@ function toastFetchError(text, error) {
188 globalThis.toastFetchError = toastFetchError;
189
190 chatInput.addEventListener("keydown", (e) => {
191 - if (e.key === "Enter" && !e.shiftKey) {
191 + if (e.key === "Enter" && !e.shiftKey && !e.isComposing && e.keyCode !== 229) {
192 e.preventDefault();
193 sendMessage();
194 }