max-niederman / ttyper

Terminal-based typing test.
MIT License
1.05k stars 76 forks source link

As of `1.2.1` all my keystrokes have doubled outputs #85

Closed brian6932 closed 1 year ago

brian6932 commented 1 year ago

This bug basically makes this program unusable for me, 1.2.0 does not exhibit this issue https://github.com/max-niederman/ttyper/compare/v1.2.0...v1.2.1 OS: Windows 11 22621 Shell: pwsh 7.4.0-preview.3 Term: Alacritty 0.13.0-dev

max-niederman commented 1 year ago

Hmm... that's very weird. If you can, I'd recommend rolling back to 1.2.0 (there are no new features in 1.2.1 or anything) until I can figure out why that would happen.

brian6932 commented 1 year ago

Yea I have rolled back

max-niederman commented 1 year ago

It appears that the event loop was treating key presses and key releases identically, so it was duplicating inputs on terminals which send key release events. This should be fixed in v1.2.2.