From cfa162874e851443b7b981b3789a91ba7d160a58 Mon Sep 17 00:00:00 2001 From: "John \"Elwin\" Edwards" Date: Tue, 24 Nov 2009 13:02:34 +0000 Subject: [PATCH] rogue4: make sure score list appears when exiting --- rogue4/command.c | 1 + rogue4/rip.c | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/rogue4/command.c b/rogue4/command.c index b5f4235..728eec3 100644 --- a/rogue4/command.c +++ b/rogue4/command.c @@ -209,6 +209,7 @@ command() clrtoeol(); refresh(); endwin(); + printf("See you soon, %s!\n", whoami); exit(0); } when '.' : ; /* Rest command */ diff --git a/rogue4/rip.c b/rogue4/rip.c index 791d214..dc56eb7 100644 --- a/rogue4/rip.c +++ b/rogue4/rip.c @@ -272,6 +272,10 @@ register char monst; move(LINES-1, 0); refresh(); score(purse, 0, monst); + /* Make sure the output gets through */ + printf("[Press return to exit]\n"); + fflush(NULL); + getchar(); exit(0); }