In MacOS, enigo.text
doesn't insert text correctly when holding the Command
or Control
key
#297
Labels
enigo.text
doesn't insert text correctly when holding the Command
or Control
key
#297
Describe the bug
Thanks for creating this helpful library. I observe a bug in MacOS, where
enigo.text
doesn't insert text correctly if user is holding theCommand
orControl
keyTo Reproduce
Below is a simple code snip to insert
Hello world!
after 3 secondsExpected behavior
Happy path: Run the script, observe
Hello world!
is printed correctly.Non-happy path: Run the script, hold
Command
(orControl
) key, observeHello world!
isn't printed.Environment (please complete the following information):
Additional context
I was able to figure out a workaround to this issue, which is to release the key before calling
enigo.text
This bug affects application built on top of enigo that uses global keyboard shortcut containing
Command
/Control
to triggertext
, in which case text insert would failThe text was updated successfully, but these errors were encountered: