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

Support numerical keycap emoji by including 2 byte runes #16

Merged
merged 1 commit into from
Oct 19, 2024

Conversation

tmdvs
Copy link
Owner

@tmdvs tmdvs commented Oct 19, 2024

Previously any runes that were less than 4 bytes in length would be ignored. However, keycap emojis (1️⃣ 2️⃣ 3️⃣ … etc) are prefixed with 2 bytes, eg 31-FE0F-20E3.

As a fix, I've tweaked the search to skip any runes less than 2 bytes instead of 4

@tmdvs tmdvs force-pushed the fix/numerical-emoji branch from 115aca8 to fce08ed Compare October 19, 2024 20:41
@tmdvs tmdvs linked an issue Oct 19, 2024 that may be closed by this pull request
@tmdvs tmdvs merged commit 3ebfd53 into main Oct 19, 2024
1 check passed
@tmdvs tmdvs deleted the fix/numerical-emoji branch October 19, 2024 20:43
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.

Number emojis are not recognized with any method
1 participant