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

Open
opened 2026-01-31 07:20:52 +00:00 by claunia · 0 comments
Owner

Originally created by @Rilele on GitHub (Oct 14, 2023).

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.

Originally created by @Rilele on GitHub (Oct 14, 2023). ### 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.
claunia added the Issue-BugIn-PRArea-InputNeeds-Tag-FixProduct-Terminal labels 2026-01-31 07:20:53 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#20673