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

Fix createStringForKey segmentation fault on Mac OS for non-Latin languages #704

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

Conversation

barbarian23
Copy link

@barbarian23 barbarian23 commented Jan 13, 2022

Screen Shot 2022-01-13 at 15 58 18

Segmantation Fault occurs if it is non-latin input source on MacOS.
I fixed this issue by changing from

TISCopyCurrentASCIICapableKeyboardInputSource

to

TISCopyCurrentKeyboardLayoutInputSource

in createStringForKey function.
Tested with 2-set Korean, 3-set Korean and Simple Telex

Refer to this link
https://discussions.apple.com/thread/250732490#251392420022

@jugglinmike
Copy link

This project appears to be unmaintained, see #622

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.

2 participants