diff options
author | lostd <lostd@2f30.org> | 2014-10-07 11:23:44 +0000 |
---|---|---|
committer | lostd <> | 2014-10-07 11:23:44 +0000 |
commit | 4e818a3980ac2331d507773b51e7d0c8cfc899b5 (patch) | |
tree | d03a27291b842553dd206f9ce64673be1f374256 | |
parent | 4fa2a994499211ed558c8e6fea1cf623b5feaad4 (diff) | |
download | nnn-4e818a3980ac2331d507773b51e7d0c8cfc899b5.tar.gz |
Include lines calculation in redraw
-rw-r--r-- | noice.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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(); |