Closed oshaboy closed 4 months ago
I found the bug and fixed it in #51. Turns out xkb_keysym_to_utf8 returns the length including the null terminator.
BTW you might want to have it return an Option\<String> or even a Result as opposed to a String. I know it's a breaking API change so I didn't do it.
closed by #51 #53
This doesn't happen with the other "to_utf8" functions.