ReadConsoleData
ReadConsoleData
It seems that ReadConsoleData waits till the given buffer size is reached and not any time sooner. Any way to give a timeout or an equivalent of ReadConsoleLine (which doesn't exist?). I tried sending it EOF, but that seems to also close the stdin pipe? Of course I can read byte by byte, but doesn't seem a optimal way...