X-Git-Url: https://jasonwoof.com/gitweb/?p=vor.git;a=blobdiff_plain;f=main.c;fp=main.c;h=4a482fc6b00756074dc4afe5108dd0159acb77a3;hp=794ff8dab38abe92befd5a961d624be136d5ca8f;hb=647f72d2ed554c7e2b1923d485e99d89f3a17825;hpb=dfe2d5a39007e86ccebf2e076ba53c99db49b95f diff --git a/main.c b/main.c index 794ff8d..4a482fc 100644 --- a/main.c +++ b/main.c @@ -26,6 +26,7 @@ #include #include #include +#include #include "font.h" @@ -137,6 +138,14 @@ extern int optind, opterr, optopt; // ************************************* FUNCS void +tiny_sleep() { + struct timespec t; + t.tv_sec = 0; + t.tv_nsec = 1; + nanosleep(&t, 0); +} + +void init_engine_dots() { int i; for(i = 0; i