From 439bb99ef5fa5c11a6baba69d00d0c7bcf42c5a2 Mon Sep 17 00:00:00 2001 From: zonble Date: Fri, 28 Jan 2022 17:53:32 +0800 Subject: [PATCH] Removes logs. --- Source/InputMethodController.mm | 2 +- Source/KeyHandlerInput.swift | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/InputMethodController.mm b/Source/InputMethodController.mm index 462ed0f9..54417f6f 100644 --- a/Source/InputMethodController.mm +++ b/Source/InputMethodController.mm @@ -243,7 +243,7 @@ static inline NSString *LocalizationNotNeeded(NSString *s) { BOOL result = [_keyHandler handleInput:input state:_state stateCallback:^(InputState *state) { [self handleState:state client:client]; } candidateSelectionCallback:^{ - NSLog(@"candidate window updated."); +// NSLog(@"candidate window updated."); } errorCallback:^{ NSBeep(); }]; diff --git a/Source/KeyHandlerInput.swift b/Source/KeyHandlerInput.swift index 4d3b4cab..e0c3ea61 100644 --- a/Source/KeyHandlerInput.swift +++ b/Source/KeyHandlerInput.swift @@ -85,7 +85,6 @@ class KeyHandlerInput: NSObject { absorbedArrowKey = useVerticalMode ? .right : .up verticalModeOnlyChooseCandidateKey = useVerticalMode ? absorbedArrowKey : .none super.init() - NSLog("self.keyCode \(keyCode)") } @objc var isShiftHold: Bool {