ctlIME // +consolidateContextOnCandidateSelection.

This commit is contained in:
ShikiSuen 2022-08-24 10:11:06 +08:00
parent 2cb7848601
commit 220ce70f71
1 changed files with 4 additions and 1 deletions

View File

@ -121,7 +121,10 @@ extension ctlInputMethod: ctlCandidateDelegate {
if let state = state as? InputState.ChoosingCandidate {
let selectedValue = state.candidates[index]
keyHandler.fixNode(candidate: selectedValue, respectCursorPushing: true, preConsolidate: true)
keyHandler.fixNode(
candidate: selectedValue, respectCursorPushing: true,
preConsolidate: mgrPrefs.consolidateContextOnCandidateSelection
)
let inputting = keyHandler.buildInputtingState