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:
parent
bf6db66729
commit
01721aca7c
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user