You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue is likely caused by getting the keyboard layout data failed, in this case, the TISGetInputSourceProperty return null and then CFDataGetBytePtr throw an EXC_BAD_ACCESS exception when calling create_string_for_key.
Exception has occurred.
EXC_BAD_ACCESS (code=1, address=0x0)
Describe the bug
A segmentation fault is triggered when calling key_click function with a argument of type Key::Layout on MacOS.
To Reproduce
Run with command
cargo run
, and will get an output as the following:Expected behavior
No crash, and send a key_click event.
Environment (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: