mirror of
https://code.blicky.net/yorhel/ncdu.git
synced 2026-01-13 01:08:41 -09:00
Move cursor to the correct line in browse_draw()
This commit is contained in:
parent
43fec63281
commit
ceecccc3ae
1 changed files with 1 additions and 0 deletions
|
|
@ -287,6 +287,7 @@ void browse_draw() {
|
||||||
break;
|
break;
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
|
selected -= i;
|
||||||
|
|
||||||
/* print the list to the screen */
|
/* print the list to the screen */
|
||||||
for(i=0; n!=NULL && i<winrows-3; n=n->next) {
|
for(i=0; n!=NULL && i<winrows-3; n=n->next) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue