Skip to content
New issue

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

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

Already on GitHub? # to your account

fix: wrong markup position when unicode char in string #32

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

woshiluo
Copy link

@woshiluo woshiluo commented Aug 9, 2022

The result fuzzy-matcher return is the position on Unicode string, not on byte array.

This PR use .char_indices() to get the Unicode char and position list. It should fix wrong markup position if there is Unicode char in app name.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant