bpo-41729: Fix test_winconsole failures (3) and hang (GH-22146)
The problems occured with a repository build on machine
with freshly updated Windows 10 Pro.
(cherry picked from commit 31c9828ec0
)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
This commit is contained in:
parent
c97e402a4c
commit
c2577b9e0e
|
@ -63,7 +63,7 @@ _testconsole_write_input_impl(PyObject *module, PyObject *file,
|
||||||
for (DWORD i = 0; i < size; ++i, ++p, ++prec) {
|
for (DWORD i = 0; i < size; ++i, ++p, ++prec) {
|
||||||
prec->EventType = KEY_EVENT;
|
prec->EventType = KEY_EVENT;
|
||||||
prec->Event.KeyEvent.bKeyDown = TRUE;
|
prec->Event.KeyEvent.bKeyDown = TRUE;
|
||||||
prec->Event.KeyEvent.wRepeatCount = 10;
|
prec->Event.KeyEvent.wRepeatCount = 1;
|
||||||
prec->Event.KeyEvent.uChar.UnicodeChar = *p;
|
prec->Event.KeyEvent.uChar.UnicodeChar = *p;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue