This caused welcome and game over messages to not appear until pressing
a key for some reason.
---
main.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/main.c b/main.c
index 8b99c20..191304b 100644
--- a/main.c
+++ b/main.c
@@ -646,6 +646,7 @@ showMessage(char *fmt, ...)
} // for(...)
va_end(ap);
+ fflush(stdout);
}
// Updates the level counter in the footer.
--
2.34.1