Browse Source

Include lines calculation in redraw

master
lostd lostd 10 years ago
parent
commit
4e818a3980
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      noice.c

+ 4
- 1
noice.c 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();



Loading…
Cancel
Save