summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2019-01-20 04:10:13 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2019-01-20 04:10:13 +0000
commita988d749692c36ad3e8a16bc8db437817d3af88f (patch)
tree2c53a7f0342fc790ae6b075046b72c376caaab07 /games
parentad887d3a0bc995b6bd8eec660165cd9048fef5a8 (diff)
quick fix to keep the cursor in the corner during space warp.
less distracting this way.
Diffstat (limited to 'games')
-rw-r--r--games/snake/snake.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/snake/snake.c b/games/snake/snake.c
index 143da3d336b..26a6f3691dc 100644
--- a/games/snake/snake.c
+++ b/games/snake/snake.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: snake.c,v 1.30 2019/01/20 04:09:15 tedu Exp $ */
+/* $OpenBSD: snake.c,v 1.31 2019/01/20 04:10:12 tedu Exp $ */
/* $NetBSD: snake.c,v 1.8 1995/04/29 00:06:41 mycroft Exp $ */
/*
@@ -652,6 +652,7 @@ spacewarp(int w)
refresh();
delay(5);
mvaddstr(p.line + 1, p.col + 1, str);
+ mvaddstr(0, 0, "");
refresh();
delay(10);
}