some comments
This commit is contained in:
parent
1af43f92ca
commit
e782bef935
@ -1,3 +1,6 @@
|
||||
/* vypr's typeprint */
|
||||
/* https://github.com/vypr/typeprint */
|
||||
|
||||
#include <time.h>
|
||||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user