[PR #19408] Only do "keys" fixups for non-nested, non-iterable commands #31831

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

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

State: closed
Merged: Yes


Summary of the Pull Request

When we introduced action IDs, we separated "commands" from "keybindings", and introduced fixup logic to rewrite the legacy-style command blocks into the new version. However we don't do any ID logic for nested and iterable commands, so make sure we don't inform the loader for fixups in those cases.

Validation Steps Performed

We no longer repeatedly attempt to fixup the settings file when we see a "keys" entry in a nested/iterable command block

PR Checklist

**Original Pull Request:** https://github.com/microsoft/terminal/pull/19408 **State:** closed **Merged:** Yes --- ## Summary of the Pull Request When we introduced action IDs, we separated "commands" from "keybindings", and introduced fixup logic to rewrite the legacy-style command blocks into the new version. However we don't do any ID logic for nested and iterable commands, so make sure we don't inform the loader for fixups in those cases. ## Validation Steps Performed We no longer repeatedly attempt to fixup the settings file when we see a `"keys"` entry in a nested/iterable command block ## PR Checklist - [x] Closes #18736
claunia added the pull-request label 2026-01-31 09:49:50 +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#31831