From ad0fa586c3388ba859ae2d01ec29c4b298e758c6 Mon Sep 17 00:00:00 2001 From: ShikiSuen Date: Fri, 11 Mar 2022 20:59:56 +0800 Subject: [PATCH] KeyHandler // Don't let Ctrl+Enter state blocks further BPMF parsing. --- 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 e8c2f7cb..457353bb 100644 --- a/Source/Modules/ControllerModules/KeyHandler.mm +++ b/Source/Modules/ControllerModules/KeyHandler.mm @@ -527,7 +527,7 @@ static NSString *const kGraphVizOutputfile = @"/tmp/vChewing-visualization.dot"; // MARK: Enter if ([input isEnter]) { if ([input isControlHold]) { - if (ctlInputMethod.areWeUsingOurOwnPhraseEditor || [input isCommandHold]) { + if (![input isCommandHold]) { return [self _handleCtrlEnterWithState:state stateCallback:stateCallback errorCallback:errorCallback]; } }