Replies: 1 comment 2 replies
-
Yes you are right about that. I am happy to accept a PR for that 🙂 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
useRecordHotkeys returns a set because it records keys only once, which makes it impossible to use it to record a sequence with duplicate keys like
w>g>g>w
even when the latter is a valid sequence foruseHotkeys
.The use of a set instead of an array also makes it rather tricky to add that functionality to
useRecordHotkeys
because a set cant have duplicate elements. Perhaps a redesign is required foruseRecordHotkeys
in newer versions?Beta Was this translation helpful? Give feedback.
All reactions