diff --git a/noice.c b/noice.c index b241e20a..062e26b7 100644 --- a/noice.c +++ b/noice.c @@ -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();