Message376471
> ÄÄÄÄÄÄÄÄÄÄ^Z^Z^Z^Z^Z^Z^Z^Z^Z^Z
I don't know why Steve made write_input (PC/_testconsole.c) set wRepeatCount in each KeyEvent record to 10. Maybe it was a typo. Previous console implementations have ignored the repeat count, so it wasn't an issue.
test_ctrl_z checks (1) that reading a non-ASCII character works when split across two reads and (2) that Ctrl+Z (0x1A) as the first character of a read is handled as EOF, regardless of where it occurs on the line as long as it's the first character in the buffer. The latter has to be tested because _WindowsConsoleIO has to manually implement the way that WinAPI ReadFile handles Ctrl+Z, a behavior that WinAPI ReadConsoleW does not itself implement. |
|
Date |
User |
Action |
Args |
2020-09-06 23:53:25 | eryksun | set | recipients:
+ eryksun, terry.reedy, paul.moore, tim.golden, zach.ware, steve.dower |
2020-09-06 23:53:25 | eryksun | set | messageid: <1599436405.8.0.963583915505.issue41729@roundup.psfhosted.org> |
2020-09-06 23:53:25 | eryksun | link | issue41729 messages |
2020-09-06 23:53:25 | eryksun | create | |
|