ctlIME // Implement composedString().

This commit is contained in:
ShikiSuen 2022-08-24 12:42:25 +08:00
parent 2893daff0a
commit 856538ccc3
1 changed files with 9 additions and 0 deletions

View File

@ -273,6 +273,15 @@ class ctlInputMethod: IMKInputController {
resetKeyHandler()
}
///
/// - Parameter sender: 使
/// - Returns: nil
override func composedString(_ sender: Any!) -> Any! {
_ = sender //
guard let state = state as? InputState.NotEmpty else { return "" }
return state.committingBufferConverted
}
// MARK: - IMKCandidates
/// IMK