[PR #17215] Remove command's knowledge of its keys #31161

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

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

State: closed
Merged: Yes


With the move to Action IDs, it doesn't quite make sense anymore for a Command to know which keys map to it. This PR removes all Keys from Command, and any callers to that now instead query the ActionMap for that Command's keys.

Closes #17160
Closes #13943

**Original Pull Request:** https://github.com/microsoft/terminal/pull/17215 **State:** closed **Merged:** Yes --- With the move to Action IDs, it doesn't quite make sense anymore for a `Command` to know which keys map to it. This PR removes all `Keys` from `Command`, and any callers to that now instead query the `ActionMap` for that Command's keys. Closes #17160 Closes #13943
claunia added the pull-request label 2026-01-31 09:45:29 +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#31161