From cb562fb4b6ec0e6f2ea61dcacea0f92f0887e80d Mon Sep 17 00:00:00 2001 From: ShikiSuen Date: Mon, 14 Mar 2022 18:32:01 +0800 Subject: [PATCH] KeyHandler // Re-allow Ctrl+CMD+Enter BPMF commit. - This design is innocent. --- Source/Modules/ControllerModules/KeyHandler.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Modules/ControllerModules/KeyHandler.mm b/Source/Modules/ControllerModules/KeyHandler.mm index bc72647d..864e0dc9 100644 --- a/Source/Modules/ControllerModules/KeyHandler.mm +++ b/Source/Modules/ControllerModules/KeyHandler.mm @@ -526,7 +526,7 @@ static NSString *const kGraphVizOutputfile = @"/tmp/vChewing-visualization.dot"; // MARK: Enter if ([input isEnter]) { if ([input isControlHold]) { - if (![input isCommandHold]) { + if (ctlInputMethod.areWeUsingOurOwnPhraseEditor || [input isCommandHold]) { return [self _handleCtrlEnterWithState:state stateCallback:stateCallback errorCallback:errorCallback]; } }