UltraRogue: flush output when exiting.

This commit is contained in:
John "Elwin" Edwards 2017-02-26 14:58:49 -05:00
parent bde89e33f7
commit 92d1275f42
2 changed files with 7 additions and 0 deletions

View file

@ -366,6 +366,7 @@ command(void)
wclear(cw);
wrefresh(cw);
endwin();
printf("\n");
exit(0);
}
break;

View file

@ -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