summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ncsweeper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ncsweeper.c b/ncsweeper.c
index ab1dc4c..42308de 100644
--- a/ncsweeper.c
+++ b/ncsweeper.c
@@ -701,6 +701,7 @@ main(int argc, char **argv)
}
}
mvprintw(game.height+4, 0, "press any key to exit..");
+ flushinp();
getch();
safe_exit:
delwin(window);