-
Notifications
You must be signed in to change notification settings - Fork 3k
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
0.11-rc2: Alt key is no longer sent into WSL #6356
Comments
Just saying that alt key isn't working on my end as well(Win10). It looks like Alacritty is registering the Alt key but nothing happens in NeoVim. Trying other terminals (cmder, tabby, cmd, and QtNvim) all register the alt key and apply the keymap I have in nvim. |
Is it just ALT+B, or are no alt keys working? It looks like the key isn't even received by Alacritty. |
It does not seem that any key is sent into WSL when it is modified with Based on the change list between rc1 and rc2, I assumed it might be related I do see
Cleaning it up a bit it seems to boil down to this:
rc1 log shows this:
Cleaned up it is:
The big difference, it seems that for rc2, key press is only delivered as a
And the
I am not using IME, and I do not see any changes in the calls to I may try compiling a local version and bisecting changes between rc1 and |
There are changes in the versions of some of the dependencies between rc1 and rc2: But, |
Winit version is, that's likely the problem. I'd be curious if someone could maybe bisect in winit.
Yeah, the |
Here is a change in Windows: Update handling of system keypresses #2445 This change description says:
Though, it does not provide the reasoning for changing behavior for other Part of the v0.27.3 release: rust-windowing/winit@v0.27.2...v0.27.3 Windows sends a special I am running a head build of Alacrity on my Ubuntu systems as well. As there was no breakage there, I assume, on Unix platforms I've left a comment in the corresponding |
I am having the same issue with sending Alt keys not just in wsl2 but in powershell + ssh. Additionally, for some reason in wsl2 I also can't type the letter |
For An alternative would be to downgrade
|
It could help if the patch that was proposed in winit could be tested with alacritty, but it could require some knowledge to handle it. Mostly you need to cherry-pick that patch into winit release branch and start from there. |
Fixes alacritty#6370. Fixes alacritty#6356.
Fixes alacritty#6370. Fixes alacritty#6356.
Fixes alacritty#6370. Fixes alacritty#6356.
Alt key does not seem to be delivered into a running WSL instance as of 0.11-rc2.
Works in 0.11-rc1.
System
OS: Windows
Version: alacritty 0.11.0-rc2 (f4ce3ff)
Logs
In both cases I start a new Alacritty instance from PowerShell, wait a second for Fish to start, type "test<Alt+B><Ctrl+E><Ctrl+U><Ctrl+D>".
--print-events
output for rc1:--print-events
output for rc2:Here are the same logs, but with most of the "randomness" removed. Better suited for a side-by-side diffing, though some randomness is still present due to the event ordering.
Less random rc1 log: https://gist.github.com/ilya-bobyr/acc3cd79ef0fc50ffec4be94adf37c7b
Less random rc2 log: https://gist.github.com/ilya-bobyr/824ea9ecd1092ffc2b05704cb727aef3
Except for comments, my config contains the following:
The text was updated successfully, but these errors were encountered: