diff rogue3/rip.c @ 8:78df7025783b

Make sure all output appears when exiting
author edwarj4
date Fri, 23 Oct 2009 01:38:53 +0000
parents d388234c4ce9
children a731f515575e
line wrap: on
line diff
--- a/rogue3/rip.c	Fri Oct 16 14:40:16 2009 +0000
+++ b/rogue3/rip.c	Fri Oct 23 01:38:53 2009 +0000
@@ -78,6 +78,11 @@
     move(LINES-1, 0);
     draw(stdscr);
     score(purse, 0, monst);
+    /* Make sure all the output gets through ssh and
+       anything else that might be in the way. */
+    printf("[Press return to exit]\n");
+    fflush(NULL);
+    getchar();
     exit(0);
 }