Skip to content

Keyboard shortcuts with crtl + alt gr (like crtl + \) on a German keyboard are not working #16173

@Rilele

Description

@Rilele

Windows Terminal version

1.20.231013001-experimental or 1.17.11461.0

Windows build number

10.0.19045.3570

Other Software

GNU nano 6.2-1 on Ubuntu 22.04.3 on WSL (also happens with nano from Git for Windows 2.42.0.2 and via SSH)

Steps to reproduce

  1. Ensure your keyboard layout is set to German.
  2. Start WSL
  3. Open nano.
  4. Press Strg + Alt Gr + ß to get Crtl + \ (On a US keyboard with German Layout press: Crtl + Right Alt + -)

Expected Behavior

Nano opens the replace dialog.

Actual Behavior

A \ appears.

Note, that on a German keyboard layout \ is only accessible via Alt Gr + ß or Crtl + Alt + ß. To enter shortcuts like Ctrl + \ a third key is required.
The issue also happens with conshost.exe.

showkey -a shows
\ 92 0134 0x5c
but
^\ 28 0034 0x1b
would be expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-InputRelated to input processing (key presses, mouse, etc.)In-PRThis issue has a related PRIssue-BugIt either shouldn't be doing this or needs an investigation.Needs-Tag-FixDoesn't match tag requirementsProduct-TerminalThe new Windows Terminal.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions