Eryk Sun <eryk...@gmail.com> added the comment:

> Is this line needed with a repeat of 1, or should it be removed? 

It's not documented what it means to write a key event with wRepeatCount set to 
0. It happens to work, but I'd leave it set to 1, which means the key was 
pressed once. Ideally, there should also be a subsequent key-up event that's 
the same except bKeyDown is FALSE, but test_winconsoleio doesn't need it.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue41729>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to