aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pong.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pong.c b/src/pong.c
index 297dfcf..b462e2c 100644
--- a/src/pong.c
+++ b/src/pong.c
@@ -484,6 +484,7 @@ int main(void) {
clear();
getmaxyx(stdscr, y, x);
mvprintw(y/2, x/3, "Player %d wins.", winner);
+ timeout(-1);
getch();
return EXIT_SUCCESS;