A temporary-ish fix for #186; still leaves a dangling KeyPressed without a corresponding KeyReleased if you press a key, tab out, release key, tab back in. Fixing that would take some other much more complicated way.
Thanks! Since we are resetting internal state, I figured it will make sense to send EventKey up too. Merged in 755685858cc748c813b2a614401247052e7d6901
A temporary-ish fix for #186; still leaves a dangling
KeyPressed
without a correspondingKeyReleased
if you press a key, tab out, release key, tab back in. Fixing that would take some other much more complicated way.