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
acme: Kcmd not being passed through on linux #31
Comments
keyboard.h suggests it is mac-only. |
How unfortunate that someone would accept mac only patches. Thanks mehlon. |
We can't map Control to Kcmd because Kcmd+c (copy) and Ctrl+c (stop process) are very different operations. And Alt was taken too, for compose sequences. Now that just about everything has a Windows key too, if someone wants to map the Windows key to Kcmd, that would be fine. I don't know how though. |
Kcmd+r (DPI toggle) needed a fix for a deadlock. Fixes 9fans#31
Can't trigger copy or paste via keyboard with any combination of ctrl + alt + windows key.
From the code it looks like windows key is the correct combination.
When I add
printf("key - %d\n", r);
@plan9port/src/cmd/acme/text.c
Line 669 in 3f1c876
key - 99 // When pressing c
key - 3 // When pressing Ctrl + c
key - 99 // When pressing Windows key + c
key - 99 // When pressing alt + c (the keypress is sometimes ignored)
The text was updated successfully, but these errors were encountered: