diff options
author | 2019-01-20 04:10:12 +0000 | |
---|---|---|
committer | 2019-01-20 04:10:12 +0000 | |
commit | ae3bacb543de1ecd573ecc0f759e7abac3eb1c21 (patch) | |
tree | 2039b4b70ad47d4347d7f43f0ee08c44569d6dd0 | |
parent | if the snake ran over the money, print the treasure instead of empty. (diff) | |
download | wireguard-openbsd-ae3bacb543de1ecd573ecc0f759e7abac3eb1c21.tar.xz wireguard-openbsd-ae3bacb543de1ecd573ecc0f759e7abac3eb1c21.zip |
quick fix to keep the cursor in the corner during space warp.
less distracting this way.
-rw-r--r-- | games/snake/snake.c | 3 |
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); } |