RobertWHurst / Keystrokes

Keystrokes as an easy to use library for binding functions to keys and key combos. It can be used with any TypeScript or JavaScript project, even in non-browser environments.
MIT License
153 stars 6 forks source link

Fixes self releasing keys bug #9

Closed colinsullivan closed 1 year ago

colinsullivan commented 1 year ago

This PR fixes the self releasing keys bug, and makes the feature work for how (it seems) is intended. See comments inline.

Closes #7

RobertWHurst commented 1 year ago

Excellent PR, and very much appreciated. I started my own PR to incorporate the work you did here, but added a few of my own ideas. Check it out and let me know what you think => #10

I also let a comment to one of your above going over why this feature exists and asking for some feedback. Let me know what you think @colinsullivan.