[PR #6212] Allow Ctrl+Alt <> AltGr aliasing to be disabled #26608

Open
opened 2026-01-31 09:17:06 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/6212

State: closed
Merged: Yes


Summary of the Pull Request

Some people wish to use Ctrl+Alt combinations without Windows treating those as an alias for AltGr combinations. This PR adds a new altGrAliasing setting allowing one to control this behavior.

PR Checklist

Validation Steps Performed

  • Choose a German keyboard layout
  • Using showkey -a ensured that both Ctrl+Alt+Q/E and AltGr+Q/E produce @/€
  • Added "altGrAliasing": false to the WSL profile
  • Using showkey -a ensured Ctrl+Alt+Q/E now produces ^[^Q/E while AltGr+Q/E continues to produce @/€
**Original Pull Request:** https://github.com/microsoft/terminal/pull/6212 **State:** closed **Merged:** Yes --- ## Summary of the Pull Request Some people wish to use Ctrl+Alt combinations without Windows treating those as an alias for AltGr combinations. This PR adds a new `altGrAliasing` setting allowing one to control this behavior. ## PR Checklist * [x] Closes #6211 * [x] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA * [x] Manual testing * [x] Requires documentation to be updated: https://github.com/MicrosoftDocs/terminal/issues/50 * [x] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx ## Validation Steps Performed * Choose a German keyboard layout * Using `showkey -a` ensured that both `Ctrl+Alt+Q/E` and `AltGr+Q/E` produce `@/€` * Added `"altGrAliasing": false` to the WSL profile * Using `showkey -a` ensured `Ctrl+Alt+Q/E` now produces `^[^Q/E` while `AltGr+Q/E` continues to produce `@/€`
claunia added the pull-request label 2026-01-31 09:17:06 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#26608