in reply to Re^3: Unable to capture mouse events in Win32::Console
in thread Unable to capture mouse events in Win32::Console
I have no idea why my erroneous extra console_events didn't trigger a warning. I went through numerous versions of this thing, trying different stuff. At the time of this version I think I was trying to figure out if actually getting the console events was a blocking or non-blocking call. One other version of the code had a check to see if there was an event at all inside the if statement, then the actual read of the event was the second (now superfluous) one.
|
|---|