diff --git a/Source/Modules/SessionCtl_Core.swift b/Source/Modules/SessionCtl_Core.swift index d750ff79..3d99c1ad 100644 --- a/Source/Modules/SessionCtl_Core.swift +++ b/Source/Modules/SessionCtl_Core.swift @@ -172,12 +172,10 @@ extension SessionCtl { inputHandler.composer.clear() switchState(inputHandler.generateStateOfInputting()) } - let isSecureMode = PrefMgr.shared.clientsIMKTextInputIncapable.contains(clientBundleIdentifier) - if state.hasComposition, !isSecureMode { - /// 將傳回的新狀態交給調度函式。 - switchState(IMEState.ofCommitting(textToCommit: state.displayedText)) - } - switchState(isSecureMode ? IMEState.ofAbortion() : IMEState.ofEmpty()) + // 威注音不再在這裡對 IMKTextInput 客體黑名單當中的應用做資安措施。 + // 有相關需求者,請在切換掉輸入法或者切換至新的客體應用之前敲一下 Shift+Delete。 + switchState(IMEState.ofEmpty()) + // switchState(isSecureMode ? IMEState.ofAbortion() : IMEState.ofEmpty()) } }