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