Flushing stdout for each loop itteration, otherwise it doesn't look right for

small sets of data.

	modified:   src/nms.c
This commit is contained in:
Brian Barto 2016-04-10 18:52:13 -04:00
parent bf6db66729
commit 01721aca7c

View File

@ -98,6 +98,7 @@ int main(void) {
list_pointer->mask = getMaskChar(); list_pointer->mask = getMaskChar();
list_pointer = list_pointer->next; list_pointer = list_pointer->next;
} }
fflush(stdout);
usleep(ms * 1000); usleep(ms * 1000);
++x; ++x;
} }
@ -129,6 +130,7 @@ int main(void) {
printf(KNRM); printf(KNRM);
list_pointer = list_pointer->next; list_pointer = list_pointer->next;
} }
fflush(stdout);
usleep(ms * 1000); usleep(ms * 1000);
} }