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
Incorrect key pressed when using unicode_char_down #4
Comments
I'm commenting to say that I have seen this and I've been thinking about it. I'm really not sure and unfortunately it's going to be a while before I have the time to troubleshoot this properly. Out of curiosity, what do you get from this? let mut ctx = Context::new().unwrap();
for c in b' '..=b'~' {
ctx.ascii_char(c).unwrap();
ctx.ascii_char(b' ').unwrap();
ctx.unicode_char(c as char).unwrap();
ctx.ascii_char(b'\n').unwrap();
} |
This is what I get:
P.S. I prefer to use |
You wouldn’t happen to be using Dvorak by any chance? 😉 Keyboard layout probably should have been my first question. I will admit that I only tested this with Qwerty. |
Yes I am a Dvorak Master Race™. So it seems that tfc isn't taking into account keyboard layout. This is what I get when I use QWERTY:
|
Things are starting to settle down a bit so I finally had the chance to investigate this properly today. Although I wasn't able to reproduce the problem unfortunately.
This is expected behaviour. Can you tell me more about your setup? I might need to use a different distro or use a different method for changing the layout. |
When running the following code...
On my computer it presses the
;
key, even though it's supposed to press thes
key.However the following code works fine:
I'm using Linux (X11).
The text was updated successfully, but these errors were encountered: