boppreh / keyboard

Hook and simulate global keyboard events on Windows and Linux.
MIT License
3.76k stars 433 forks source link

Fix write work with delay #583

Open DanilXO opened 1 year ago

DanilXO commented 1 year ago

Hello! I was working on my joke project using this library and found a strange bug. The delay parameter in the write function does not work correctly on Mac OS. We don't wait every delay time before every letter input, but wait a delay before every word input.

Issue: https://github.com/boppreh/keyboard/issues/582