Skip to content

Show all modifiers in key hints - #3048

Open
56steve wants to merge 1 commit into
gitui-org:masterfrom
56steve:fix/key-hint-combined-modifiers
Open

56steve wants to merge 1 commit into
gitui-org:masterfrom
56steve:fix/key-hint-combined-modifiers

Conversation

@56steve

@56steve 56steve commented Oct 30, 2026

Copy link
Copy Markdown

Key hints only rendered a modifier when a binding had exactly one, so a binding like ctrl+shift+c from key_bindings.ron was shown as just c in the command bar and help. I changed the hint to list every modifier that is set (control, shift, alt, in that order) and added a unit test for combined modifiers.

I added a changelog entry. Single-modifier hints are unchanged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant