Skip to content

Commit

Permalink
prevent commit keystroke being hijacked
Browse files Browse the repository at this point in the history
  • Loading branch information
groverlynn committed Aug 5, 2023
1 parent 7de3919 commit c5f4970
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion SquirrelInputController.m
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,8 @@ -(void)rimeConsumeCommittedText
RIME_STRUCT(RimeCommit, commit);
if (rime_get_api()->get_commit(_session, &commit)) {
NSString *commitText = @(commit.text);
[self commitString: commitText];
[self showPreeditString:@" " selRange:NSMakeRange(0, 0) caretPos:0];
[self commitString:commitText];
rime_get_api()->free_commit(&commit);
}
}
Expand Down

0 comments on commit c5f4970

Please sign in to comment.