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

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

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/6212
Author: @lhecker
Created: 5/26/2020
Status: Merged
Merged: 6/5/2020
Merged by: @undefined

Base: masterHead: issue-6211-altgr-aliasing


📝 Commits (1)

  • 245fdb3 Allow Ctrl+Alt <> AltGr aliasing to be disabled

📊 Changes

11 files changed (+33 additions, -4 deletions)

View changed files

📝 doc/cascadia/SettingsSchema.md (+1 -0)
📝 doc/cascadia/profiles.schema.json (+5 -0)
📝 src/cascadia/TerminalApp/Profile.cpp (+5 -0)
📝 src/cascadia/TerminalApp/Profile.h (+1 -0)
📝 src/cascadia/TerminalApp/defaults-universal.json (+1 -0)
📝 src/cascadia/TerminalApp/defaults.json (+2 -0)
📝 src/cascadia/TerminalCore/Terminal.cpp (+13 -4)
📝 src/cascadia/TerminalCore/Terminal.hpp (+1 -0)
📝 src/cascadia/TerminalSettings/ICoreSettings.idl (+1 -0)
📝 src/cascadia/TerminalSettings/terminalsettings.h (+1 -0)
📝 src/cascadia/UnitTests_TerminalCore/MockTermSettings.h (+2 -0)

📄 Description

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 @/€

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/microsoft/terminal/pull/6212 **Author:** [@lhecker](https://github.com/lhecker) **Created:** 5/26/2020 **Status:** ✅ Merged **Merged:** 6/5/2020 **Merged by:** [@undefined](undefined) **Base:** `master` ← **Head:** `issue-6211-altgr-aliasing` --- ### 📝 Commits (1) - [`245fdb3`](https://github.com/microsoft/terminal/commit/245fdb3c870cd542d9031a483e1a5fff0c47875e) Allow Ctrl+Alt <> AltGr aliasing to be disabled ### 📊 Changes **11 files changed** (+33 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `doc/cascadia/SettingsSchema.md` (+1 -0) 📝 `doc/cascadia/profiles.schema.json` (+5 -0) 📝 `src/cascadia/TerminalApp/Profile.cpp` (+5 -0) 📝 `src/cascadia/TerminalApp/Profile.h` (+1 -0) 📝 `src/cascadia/TerminalApp/defaults-universal.json` (+1 -0) 📝 `src/cascadia/TerminalApp/defaults.json` (+2 -0) 📝 `src/cascadia/TerminalCore/Terminal.cpp` (+13 -4) 📝 `src/cascadia/TerminalCore/Terminal.hpp` (+1 -0) 📝 `src/cascadia/TerminalSettings/ICoreSettings.idl` (+1 -0) 📝 `src/cascadia/TerminalSettings/terminalsettings.h` (+1 -0) 📝 `src/cascadia/UnitTests_TerminalCore/MockTermSettings.h` (+2 -0) </details> ### 📄 Description ## 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 `@/€` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:17:05 +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#26603