aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--noice.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/noice.c b/noice.c
index b241e20..062e26b 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();