Skip to content

Conversation

@bfritscher
Copy link
Contributor

Fixed shortcutOnly to work only with keymaps file. Maybe shortcutOnly should be renamed or better explained? This is a rework and split into smaller commit of #151 and should resolve issue #94.

After looking into the code as I understand it the show only shortcuts was meant to only display key pressed which are listed in the keymaps yaml files and it is per process. The naming is misleading.
As evidenced by issue #94

But in the process of adding the merge function and reusing the Message(IEnumerable keys, KeyShortcut shortcut) constructor. All the merged text and x times got a isShortcut=true.
Therefore in the current state Only Shortcut shows everything except modifier keys without keympas file and individual characters. By adding a third argument which is only passed from the ShortcutAccumulator the original function is restored.

But this does not solve the problem to have a feature to only show "shortcut keys" meaning any combination of alt,ctrl,shift, windows keys. Those are also called modifiers keys. So I added an option to only display modifiers keys throughout any process.

…y to work only with keymaps file. Maybe shortcutOnly should be renamed or better explained?
@hnrkndrssn hnrkndrssn self-assigned this Jul 9, 2017
@hnrkndrssn hnrkndrssn modified the milestone: 2.2 Jul 25, 2017
@hnrkndrssn hnrkndrssn self-requested a review July 25, 2017 12:45
@hnrkndrssn hnrkndrssn mentioned this pull request Jul 25, 2017
@JasonKleban
Copy link

I didn't try it out, but it sounds perfect! Thanks.

@hnrkndrssn hnrkndrssn merged commit 4d391d0 into Code52:master Jul 26, 2017
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.

3 participants