summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2007-12-05 23:25:57 +0000
committerDimitri Sokolyuk <demon@dim13.org>2007-12-05 23:25:57 +0000
commit875ff024fdfeca973bbccb9dd5e4fab7ee333f0e (patch)
treeaa42d2d2f9c72f09941bf99b246437fee3051d6b
parenta075234d87bb6a80392efd88570673005396a179 (diff)
delay input in miliseconds
-rw-r--r--tm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tm.c b/tm.c
index ca89439..1e2761c 100644
--- a/tm.c
+++ b/tm.c
@@ -302,7 +302,7 @@ main(int argc, char **argv)
{
Tape *tape;
Table *table;
- int delay = 250000;
+ int delay = 250; /* miliseconds */
int c;
/* TODO: add scroll flag & execution velocity parameter */
@@ -317,6 +317,8 @@ main(int argc, char **argv)
exit(1);
}
+ delay *= 1000; /* ms -> us */
+
argc -= optind;
argv += optind;