mirror of
https://github.com/jarun/nnn.git
synced 2025-02-26 03:01:32 +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);
|
||||
|
||||
for (;;) {
|
||||
int nlines = MIN(LINES - 4, n);
|
||||
int nlines;
|
||||
|
||||
redraw:
|
||||
nlines = MIN(LINES - 4, n);
|
||||
|
||||
/* Clean screen */
|
||||
erase();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue