Skip to content

Ctrl+Alt+'char' generates other chars then 'AltGr' (Germany Layout) v0.11.1121.0 #5525

@Ztarbox

Description

@Ztarbox

Environment

Windows build number: Microsoft Windows NT 10.0.19041.0
Windows Terminal version (if applicable): v0.11.1121.0

Steps to reproduce

In german keyboard layout type Ctrl+Alt+< (or any other key that has a 3rd char on it).

Expected behavior

Shows the same as AltGr+<
the pipe char: |

Actual behavior

Shows the # hash sign.

Additional remarks

This started on v0.11 till the fixing of AltGr months ago, this didn't happen till today.
On german keyboard layout at least, AltGr+key and Ctrl+Alt+key always return the same char.

some other examples on pwsh:

Key AltGr Ctrl+Alt
< Pipe #
q @ "
e
7 { ^[
8 [ ^[
9 ] +
+ ~ &

cmd in terminal returns also different chars but other (mostly ^] or ^\)
wsl doesn't support Ctrl+Alt at all, but I don't need it there and I'm not sure, if it worked there till v0.11,

I mostly recognized this problem while typing PowerShell, cause its way faster to create the | (pipe) using Ctrl+Alt+< on the left side of the keyboard then AltGr+< cause this would require two hands.

Metadata

Metadata

Assignees

Labels

Area-InputRelated to input processing (key presses, mouse, etc.)Area-TerminalControlIssues pertaining to the terminal control (input, selection, keybindings, mouse interaction, etc.)Issue-BugIt either shouldn't be doing this or needs an investigation.Needs-Tag-FixDoesn't match tag requirementsPriority-1A description (P1)Product-TerminalThe new Windows Terminal.Resolution-Fix-CommittedFix is checked in, but it might be 3-4 weeks until a release.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions