vscode: Incorrect keyboard input when using "AltGr" key.
- VSCode Version: 1.39.1
- OS Version: Microsoft Windows (Pro) Version 1903 (OS Build 10.18362.418)
- PowerShell Version: 5.1
Steps to Reproduce:
- Open VSCode
- Open a Terminal
- Make keyboard keys input combination of “AltGr + 2 then Space” or “AltGr + 7 then Space”
- You get the standard key (unexpected) plus the AltGr key (expected)
This happens on an AZERTY keyboard (a Surface Type Cover). I am not able to confirm if this happens on QWERTY too.
On AZERTY keyboards, the keys “2” and “7” consist in 3 characters:
- Keyboard key “2”: é (standard) + 2 (shift) + ~ (AltGr+Space)
- Keyboard key “7”: è (standard) + 7 (shift) + ` (AltGr+Space)
Note: This dysfunction only affects PowerShell through VSCode. Code workspace is not affected. And native PowerShell also behaves perfectly.
These keys are quite intensively used. Any solution would be appreciated.
Does this issue occur when all extensions are disabled?: Yes
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 6
- Comments: 27 (10 by maintainers)
Commits related to this issue
- Update xterm Commit: a706e010f4c274c051d817c3e2d0e454bcc04996 Fixes #82489 — committed to code-oss-dev/code by Tyriar 3 years ago
- xterm@4.14.0-beta.22 Commit: d32c6db9676b2b771afb9267a0fad1d6b5fdec57 Fixes #131921 Fixes #82489 — committed to code-oss-dev/code by Tyriar 3 years ago
I have a similar issue using Spanish Keyboard (QWERTY distribution). When I try to write
@
, using Alt-gr + 2, or any Alt-gr + key combination, I have nothing, but an empty space or some tabulations…Confirmed working in 1.61! Congrats guys!
Relevant PRs: https://github.com/xtermjs/xterm.js/pull/3430, https://github.com/xtermjs/xterm.js/pull/3432, https://github.com/xtermjs/xterm.js/pull/3437
@Tyriar I know you’re probably busy with a million issues but… Any update on that? It’s still troublesome 😦
I found a temporary workaround (works on Windows at least): use Ctrl+Alt instead of AltGr. Far from practical but hey, it’s something.