ctlIME // Another attempt to make IME work aftermath.

This commit is contained in:
ShikiSuen 2022-08-02 12:03:10 +08:00
parent c1ee6924d0
commit f69455892b
1 changed files with 2 additions and 1 deletions

View File

@ -85,6 +85,7 @@ class ctlInputMethod: IMKInputController {
keyHandler.delegate = self
//
activateServer(inputClient)
keyHandler.ensureParser()
resetKeyHandler()
}
@ -99,7 +100,7 @@ class ctlInputMethod: IMKInputController {
// activateServer nil
//
if keyHandler.delegate == nil { keyHandler.delegate = self }
setValue(IME.currentInputMode.rawValue, forTag: 114514, client: client())
keyHandler.clear()
keyHandler.ensureParser()