Pārlūkot izejas kodu

Include lines calculation in redraw

master
lostd lostd pirms 10 gadiem
vecāks
revīzija
4e818a3980
1 mainītis faili ar 4 papildinājumiem un 1 dzēšanām
  1. +4
    -1
      noice.c

+ 4
- 1
noice.c Parādīt failu

@@ -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();



Notiek ielāde…
Atcelt
Saglabāt