From b4d0ced002129925cba75078b5c3ce918b044e4a Mon Sep 17 00:00:00 2001 From: ShikiSuen Date: Thu, 25 Aug 2022 12:29:21 +0800 Subject: [PATCH] KeyHandler // Block reading-dumping keys in marking state. --- Source/Modules/ControllerModules/KeyHandler_States.swift | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Source/Modules/ControllerModules/KeyHandler_States.swift b/Source/Modules/ControllerModules/KeyHandler_States.swift index 12c61d76..ee24ce2c 100644 --- a/Source/Modules/ControllerModules/KeyHandler_States.swift +++ b/Source/Modules/ControllerModules/KeyHandler_States.swift @@ -173,6 +173,13 @@ extension KeyHandler { return true } + // 阻止用於行內注音輸出的熱鍵。 + if input.isControlHold, input.isCommandHold, input.isEnter { + IME.prtDebugIntel("1198E3E5") + errorCallback() + return true + } + // Enter if input.isEnter { if let keyHandlerDelegate = delegate {