UltraRogue: flush output when exiting.
This commit is contained in:
parent
bde89e33f7
commit
92d1275f42
2 changed files with 7 additions and 0 deletions
|
|
@ -366,6 +366,7 @@ command(void)
|
|||
wclear(cw);
|
||||
wrefresh(cw);
|
||||
endwin();
|
||||
printf("\n");
|
||||
exit(0);
|
||||
}
|
||||
break;
|
||||
|
|
|
|||
|
|
@ -377,6 +377,12 @@ score(long amount, int lvl, int flags, int monst) /*ARGSUSED*/
|
|||
}
|
||||
|
||||
fclose(fd_score);
|
||||
|
||||
if (flags != SCOREIT) {
|
||||
printf("[Press RETURN to exit]\n");
|
||||
fflush(stdout);
|
||||
getchar();
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue