[PR #4746] Add warning messages for bad keybindings #25928

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

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

State: closed
Merged: Yes


Summary of the Pull Request

Adds warning messages for a pair of keybindings-related scenarios. This covers the following two bugs:

  • #4239 - If the user has supplied more than one key chord in their "keys" array.
  • #3522 - If a keybinding has a required argument, then we'll display a message to the user
    • currently, the only required parameter is the direction parameter for both resizePane and moveFocus

References

When we get to #1334, we'll want to remove the TooManyKeysForChord warning.

PR Checklist

image

Validation Steps Performed

Tested manually, added tests.

**Original Pull Request:** https://github.com/microsoft/terminal/pull/4746 **State:** closed **Merged:** Yes --- ## Summary of the Pull Request Adds warning messages for a pair of keybindings-related scenarios. This covers the following two bugs: * #4239 - If the user has supplied more than one key chord in their `"keys"` array. * #3522 - If a keybinding has a _required_ argument, then we'll display a message to the user - currently, the only required parameter is the `direction` parameter for both `resizePane` and `moveFocus` ## References When we get to #1334, we'll want to remove the `TooManyKeysForChord` warning. ## PR Checklist * [x] Closes #4239 * [x] Closes #3522 * [x] I work here * [x] Tests added/passed * [n/a] Requires documentation to be updated ![image](https://user-images.githubusercontent.com/18356694/75593132-f18ec700-5a49-11ea-9d26-6acd0d28b0b7.png) ## Validation Steps Performed Tested manually, added tests.
claunia added the pull-request label 2026-01-31 09:12:42 +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#25928