Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use new quickphrase restore mechanism and fix punc when cursor is in the middle of input. #209

Merged
merged 2 commits into from
Jan 19, 2025

Conversation

wengxt
Copy link
Member

@wengxt wengxt commented Jan 19, 2025

  • Use new setBufferWithRestoreCallback for trigger quickphrase
  • Only select default candidate if typing any character producing key doesn't commit the current input.

Also ensure this codepath is only triggered when there is no selection.
…oesn't commit the current input.

e.g. n|ihao & type "," will select 你. User may still repeatly type ","
to do the default selection.
@wengxt wengxt merged commit ac5a2be into master Jan 19, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant