mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:43:31 +00:00
Need to get any outstanding input prior to returning number.
This commit is contained in:
parent
6e143b3379
commit
aa9f8dcf39
1 changed files with 2 additions and 0 deletions
|
@ -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 );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue