ReadConsoleData

Just starting out? Need help? Post your questions and find answers here.
Rinzwind
Enthusiast
Enthusiast
Posts: 638
Joined: Wed Mar 11, 2009 4:06 pm
Location: NL

ReadConsoleData

Post by Rinzwind »

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...