summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-12-05 17:56:43 +0000
committerDimitri Sokolyuk <demon@dim13.org>2015-12-05 17:56:43 +0000
commit3faeee797997a782555100dee54eada0025e2280 (patch)
treeb80a23a01b6c22279a7e64928f550d1a96e6d990
parentd493a8ab941aa186306ac57d862cf455771c8203 (diff)
Parametrize delayHEADmaster
-rw-r--r--snow.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/snow.c b/snow.c
index 37d64ce..b63cf20 100644
--- a/snow.c
+++ b/snow.c
@@ -40,6 +40,7 @@ extern int COLS;
static int die = 0;
static int ocurs;
static char flake[] = ".*#";
+static int delay = 50000; /* usec */
#ifndef nitems
#define nitems(s) (sizeof(s) / sizeof((s)[0]))
@@ -98,7 +99,7 @@ main()
LIST_INSERT_HEAD(&head, pp, link);
refresh();
- usleep(50000);
+ usleep(delay);
}
curs_set(ocurs);