Commit aa9f8dcf authored by Guy L. Albertelli's avatar Guy L. Albertelli Committed by Alexandre Julliard

Need to get any outstanding input prior to returning number.

parent 6e143b33
......@@ -1295,6 +1295,8 @@ BOOL WINAPI SetConsoleCursorPosition( HANDLE hcon, COORD pos )
*/
BOOL WINAPI GetNumberOfConsoleInputEvents(HANDLE hcon,LPDWORD nrofevents)
{
CONSOLE_get_input (hcon, FALSE);
return read_console_input( hcon, NULL, 0, nrofevents, FALSE );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment