noice.c | 5 ++++- diff --git a/noice.c b/noice.c index b241e20a10a60c9985226bef8aea3fdff538fab6..062e26b78c44b38ae24956945a6c0d3576cd1224 100644 --- a/noice.c +++ b/noice.c @@ -214,8 +214,11 @@ qsort(dents, n, sizeof(*dents), dentcmp); for (;;) { - int nlines = MIN(LINES - 4, n); + int nlines; + redraw: + nlines = MIN(LINES - 4, n); + /* Clean screen */ erase();