-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Keybindings that require AltGr modifiers don't work on Windows #2914
Comments
hey, so, helix is working for you on wezterm on windows?? I am facing problems with it |
Yup, it's working perfectly fine. Note that I'm using |
ahw right... i am using |
Closing favor of #7129 since that has more details |
Summary
as mentioned in #595 (comment)
Keybinds that use characters which require the AltGr modifier don't seem to work on windows. Entering these characters normally as text, however, works as expected with the fixes made to address #595.
One example is the pipe command
|
on some European keyboard layouts.For reference, crossterm's
event-read
example registers the key as:Event: Key(KeyEvent { code: Char('|'), modifiers: CONTROL | ALT })
Another thing to note is that on linux the same keybind works for me (with the same keyboard layout).
Edit: I just tested it on linux: Characters that are written with the AltGr modifier do not include the ˋCONTROLˋ and ˋALTˋ modifier-flags in crossterm, which is probably the cause of this issue.
Helix log
Nothing of interest.
Platform
Windows
Terminal Emulator
Wezterm (nightly), Cmd, Powershell, ConEmu
Helix Version
built from current master
22.05-159-gbf1db737
The text was updated successfully, but these errors were encountered: