From: Joe Wreschnig Date: Thu, 4 Apr 2013 11:16:23 +0000 (+0200) Subject: Terminals have changed a bit since 1981. X-Git-Url: https://git.yukkurigames.com/?p=rogue-pphs.git;a=commitdiff_plain;h=718e2751fe628826872f2de8464a1845bce406ed Terminals have changed a bit since 1981. --- diff --git a/main.c b/main.c index 59240e0..7e27bd3 100644 --- a/main.c +++ b/main.c @@ -88,9 +88,9 @@ char **envp; atoi(getenv("SEED")) : lowtime + getpid()); if (wizard) - printf("Hello %s, welcome to dungeon #%d", whoami, dnum); + printf("Hello %s, welcome to dungeon #%d\n", whoami, dnum); else - printf("Hello %s, just a moment while I dig the dungeon...", whoami); + printf("Hello %s, just a moment while I dig the dungeon...\n", whoami); fflush(stdout); seed = dnum; init_player(); /* Roll up the rogue */ diff --git a/rip.c b/rip.c index 352313d..77bf78d 100644 --- a/rip.c +++ b/rip.c @@ -71,6 +71,8 @@ register char monst; move(LINES-1, 0); draw(stdscr); score(purse, 0, monst); + getch(); + endwin(); exit(0); } @@ -355,6 +357,8 @@ total_winner() mvprintw(c - 'a' + 1, 0," %5d Gold Peices ", oldpurse); refresh(); score(purse, 2, 0); + getch(); + endwin(); exit(0); }