summaryrefslogtreecommitdiffstats
path: root/worms
diff options
context:
space:
mode:
authorjsm <jsm@NetBSD.org>2004-02-08 22:21:57 +0000
committerjsm <jsm@NetBSD.org>2004-02-08 22:21:57 +0000
commitad21fb31560f9565323f89d2a1468cff25268ae6 (patch)
tree5e51860d77aafd9334d91a13f8633d89920d873a /worms
parent5b7fc9054f148aadb5b501dd6d5a818bd6101383 (diff)
downloadbsdgames-darwin-ad21fb31560f9565323f89d2a1468cff25268ae6.tar.gz
bsdgames-darwin-ad21fb31560f9565323f89d2a1468cff25268ae6.tar.zst
bsdgames-darwin-ad21fb31560f9565323f89d2a1468cff25268ae6.zip
Hide the cursor if possible. From OpenBSD.
Diffstat (limited to 'worms')
-rw-r--r--worms/worms.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/worms/worms.c b/worms/worms.c
index 23c0e178..c3bca445 100644
--- a/worms/worms.c
+++ b/worms/worms.c
@@ -1,4 +1,4 @@
-/* $NetBSD: worms.c,v 1.13 2004/01/27 20:30:31 jsm Exp $ */
+/* $NetBSD: worms.c,v 1.14 2004/02/08 22:21:57 jsm Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1993\n\
#if 0
static char sccsid[] = "@(#)worms.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: worms.c,v 1.13 2004/01/27 20:30:31 jsm Exp $");
+__RCSID("$NetBSD: worms.c,v 1.14 2004/02/08 22:21:57 jsm Exp $");
#endif
#endif /* not lint */
@@ -238,6 +238,7 @@ main(argc, argv)
sizeof(struct worm))) || !(mp = malloc((size_t)1024)))
nomem();
initscr();
+ curs_set(0);
CO = COLS;
LI = LINES;
last = CO - 1;