summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sirtet.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sirtet.c b/sirtet.c
index 1d53ac2..c9221ce 100644
--- a/sirtet.c
+++ b/sirtet.c
@@ -226,8 +226,10 @@ void sirtet() {
}
if (!has_placeable) {
// game over
- printw("Game over\n");
+ mvprintw(3, 2 * W + 8, "Game over");
+ mvprintw(4, 2 * W + 8, "Press any key to exit");
refresh();
+ while (getch() == 0);
over = true;
}
}