in reply to Re^3: Unable to capture mouse events in Win32::Console
in thread Unable to capture mouse events in Win32::Console

So the defaults changed, inherited mode/mask is different...

cmd.exe console default mode

https://docs.microsoft.com/en-us/windows/console/legacymode

  • Comment on Re^4: Unable to capture mouse events in Win32::Console