[PR #10945] Make ActionMap compatible with ScanCode-only KeyChords #28323

Closed
opened 2026-01-31 09:27:47 +00:00 by claunia · 0 comments
Owner

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

State: closed
Merged: Yes


This commit partially reverts d465a47 and introduces an alternative approach by adding Hash and Equals methods to the KeyChords class. Those methods will now favor any existing Vkeys over ScanCodes.

PR Checklist

Validation Steps Performed

  • Added a new test, which is ✔️
  • Various standard commands still work ✔️
  • Hash() returns the same value for all KeyChords that are Equals() ✔️
**Original Pull Request:** https://github.com/microsoft/terminal/pull/10945 **State:** closed **Merged:** Yes --- This commit partially reverts d465a47 and introduces an alternative approach by adding Hash and Equals methods to the KeyChords class. Those methods will now favor any existing Vkeys over ScanCodes. ## PR Checklist * [x] Closes #10933 * [x] I work here * [x] Tests added/passed ## Validation Steps Performed * Added a new test, which is ✔️ * Various standard commands still work ✔️ * Hash() returns the same value for all KeyChords that are Equals() ✔️
claunia added the pull-request label 2026-01-31 09:27:47 +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#28323