diff --git a/c/typeprint.c b/c/typeprint.c index 43bef02..fb20cbd 100644 --- a/c/typeprint.c +++ b/c/typeprint.c @@ -1,3 +1,6 @@ +/* vypr's typeprint */ +/* https://github.com/vypr/typeprint */ + #include #include #include @@ -28,7 +31,10 @@ process(char *name) int x; while ((x = fgetc(file)) != EOF) { printf("%c", x); + + /* flush stdout, because it won't look like typing without. */ fflush(stdout); + nanosleep(&ts, NULL); }