summaryrefslogtreecommitdiffstats
path: root/rain
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 /rain
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 'rain')
-rw-r--r--rain/rain.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/rain/rain.c b/rain/rain.c
index 5640de4f..25048954 100644
--- a/rain/rain.c
+++ b/rain/rain.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rain.c,v 1.15 2004/01/27 20:30:30 jsm Exp $ */
+/* $NetBSD: rain.c,v 1.16 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[] = "@(#)rain.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: rain.c,v 1.15 2004/01/27 20:30:30 jsm Exp $");
+__RCSID("$NetBSD: rain.c,v 1.16 2004/02/08 22:21:57 jsm Exp $");
#endif
#endif /* not lint */
@@ -98,6 +98,7 @@ main(argc, argv)
(void)signal(SIGTSTP, onsig);
(void)signal(SIGTERM, onsig);
+ curs_set(0);
for (j = 4; j >= 0; --j) {
xpos[j] = random() % cols + 2;
ypos[j] = random() % lines + 2;