diff urogue/rip.c @ 267:911f0aa6e758

UltraRogue: flush output when exiting.
author John "Elwin" Edwards
date Sun, 26 Feb 2017 14:58:49 -0500
parents c495a4f288c6
children 4ab49e42dd6a
line wrap: on
line diff
--- a/urogue/rip.c	Sun Feb 19 19:56:43 2017 -0500
+++ b/urogue/rip.c	Sun Feb 26 14:58:49 2017 -0500
@@ -377,6 +377,12 @@
     }
 
     fclose(fd_score);
+
+    if (flags != SCOREIT) {
+        printf("[Press RETURN to exit]\n");
+        fflush(stdout);
+        getchar();
+    }
 }
 
 void