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);
|
wclear(cw);
|
||||||
wrefresh(cw);
|
wrefresh(cw);
|
||||||
endwin();
|
endwin();
|
||||||
|
printf("\n");
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
|
|
@ -377,6 +377,12 @@ score(long amount, int lvl, int flags, int monst) /*ARGSUSED*/
|
||||||
}
|
}
|
||||||
|
|
||||||
fclose(fd_score);
|
fclose(fd_score);
|
||||||
|
|
||||||
|
if (flags != SCOREIT) {
|
||||||
|
printf("[Press RETURN to exit]\n");
|
||||||
|
fflush(stdout);
|
||||||
|
getchar();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue