Performance tweak. The jumble loop smoother now.

modified:   src/nms.c
This commit is contained in:
Brian Barto 2016-05-11 16:55:19 -04:00
parent f1adafb03d
commit a783af8d7f

View File

@ -171,10 +171,10 @@ char nms_exec(NmsArgs *args) {
list_pointer = start;
while (list_pointer != NULL && list_pointer->row <= termSizeRows) {
mvaddstr(list_pointer->row, list_pointer->col, list_pointer->mask);
refresh();
list_pointer->mask = getMaskChar();
list_pointer = list_pointer->next;
}
refresh();
usleep(JUMBLE_LOOP_SPEED * 1000);
++x;
}