Fix duplicate command args for generic ACP providers (#444)

* Fix duplicate command args for generic ACP providers

* Fix desktop IME enter handling
This commit is contained in:
Edvard Chen
2026-04-16 10:23:05 +08:00
committed by GitHub
parent b8ade39f73
commit 45a5ba8637
6 changed files with 90 additions and 5 deletions
+5
View File
@@ -0,0 +1,5 @@
export function isImeComposingKeyboardEvent(
event: Pick<KeyboardEvent, "isComposing" | "keyCode">,
): boolean {
return event.isComposing || event.keyCode === 229;
}