mirror of
https://github.com/jarun/nnn.git
synced 2025-03-18 20:39:45 +00:00
Include lines calculation in redraw
This commit is contained in:
parent
4fa2a99449
commit
4e818a3980
1 changed files with 4 additions and 1 deletions
5
noice.c
5
noice.c
|
@ -214,8 +214,11 @@ begin:
|
||||||
qsort(dents, n, sizeof(*dents), dentcmp);
|
qsort(dents, n, sizeof(*dents), dentcmp);
|
||||||
|
|
||||||
for (;;) {
|
for (;;) {
|
||||||
int nlines = MIN(LINES - 4, n);
|
int nlines;
|
||||||
|
|
||||||
redraw:
|
redraw:
|
||||||
|
nlines = MIN(LINES - 4, n);
|
||||||
|
|
||||||
/* Clean screen */
|
/* Clean screen */
|
||||||
erase();
|
erase();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue