diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2022-07-17 08:47:03 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2022-07-17 08:47:03 +0000 |
commit | 4d6199fdd317785099b4725dcf431580a86926b3 (patch) | |
tree | dea4df057c232d15f10d4e34f1ab33b20fad5ac1 /app | |
parent | 975b26198f42a0f4ed2176c3c85e3881c81bab84 (diff) |
Set default sleep value to 10ms. This makes ico look nice again.
Diffstat (limited to 'app')
-rw-r--r-- | app/ico/ico.c | 2 | ||||
-rw-r--r-- | app/ico/man/ico.man | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/app/ico/ico.c b/app/ico/ico.c index 1104ca64d..1492e730e 100644 --- a/app/ico/ico.c +++ b/app/ico/ico.c @@ -238,7 +238,7 @@ static const char *delta_geom = NULL; /* -delta: amount by which to move object static Polyinfo *poly; /* -obj: the poly to draw */ static int dsync = 0; /* -dsync */ static int xsync = 0; /* -sync */ -static int msleepcount = 0; /* -sleep value in milliseconds*/ +static int msleepcount = 10; /* -sleep value in milliseconds*/ #ifdef MULTITHREAD static int thread_count; #ifdef XMUTEX_INITIALIZER diff --git a/app/ico/man/ico.man b/app/ico/man/ico.man index 0646fa1a5..70319d5b0 100644 --- a/app/ico/man/ico.man +++ b/app/ico/man/ico.man @@ -47,7 +47,8 @@ Don't draw the wire frames. Typically used only when -faces is used. .TP .B -sleep \fIn\fP -Sleep n seconds between each move of the object. +Sleep n seconds between each move of the object (the default value is 0.01, +ie 10ms). .TP .B -obj \fIobject\fP Specify what object to draw. |