comparison 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
comparison
equal deleted inserted replaced
7:d388234c4ce9 8:78df7025783b
76 sprintf(prbuf, "%4d", 1900+lt->tm_year); 76 sprintf(prbuf, "%4d", 1900+lt->tm_year);
77 mvaddstr(18, 26, prbuf); 77 mvaddstr(18, 26, prbuf);
78 move(LINES-1, 0); 78 move(LINES-1, 0);
79 draw(stdscr); 79 draw(stdscr);
80 score(purse, 0, monst); 80 score(purse, 0, monst);
81 /* Make sure all the output gets through ssh and
82 anything else that might be in the way. */
83 printf("[Press return to exit]\n");
84 fflush(NULL);
85 getchar();
81 exit(0); 86 exit(0);
82 } 87 }
83 88
84 /* 89 /*
85 * score -- figure score and post it. 90 * score -- figure score and post it.