Added mintty/msvcrt fix to events test.
diff --git a/tests/events.c b/tests/events.c
index 25c9090..768ed93 100644
--- a/tests/events.c
+++ b/tests/events.c
@@ -417,8 +417,13 @@
     printf("Main loop starting\n");
 
     while (!glfwWindowShouldClose(window))
+    {
         glfwWaitEvents();
 
+        // Workaround for an issue with msvcrt and mintty
+        fflush(stdout);
+    }
+
     glfwTerminate();
     exit(EXIT_SUCCESS);
 }