Agent Zero AI framework
Fix: Prevent auto-send when pressing Enter with a non-English input method (#700)
Wabifocus8aab59165daf
diff --git a/webui/index.js b/webui/index.jsindex 558e833a4..9d40323b6 100644--- a/webui/index.js+++ b/webui/index.js@@ -188,7 +188,7 @@ function toastFetchError(text, error) {globalThis.toastFetchError = toastFetchError;chatInput.addEventListener("keydown", (e) => {- if (e.key === "Enter" && !e.shiftKey) {+ if (e.key === "Enter" && !e.shiftKey && !e.isComposing && e.keyCode !== 229) {e.preventDefault();sendMessage();}