Include lines calculation in redraw

This commit is contained in:
lostd 2014-10-07 11:23:44 +00:00 committed by lostd
parent 4fa2a99449
commit 4e818a3980

View file

@ -214,8 +214,11 @@ begin:
qsort(dents, n, sizeof(*dents), dentcmp);
for (;;) {
int nlines = MIN(LINES - 4, n);
int nlines;
redraw:
nlines = MIN(LINES - 4, n);
/* Clean screen */
erase();