src/nnn.c | 4 ++-- diff --git a/src/nnn.c b/src/nnn.c index 544067f0adde58c4356b734abf7dea43eb1c8f44..eef972f4c3e4595fdf5f6c0e712f6a3df085930f 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -6011,8 +6011,8 @@ attroff(COLOR_PAIR(cfg.curctx + 1) | A_BOLD); g_state.dircolor = 0; } - /* Go to first entry */ - if (i < ndents) { + /* Go to last entry */ + if (onscreen < ndents) { move(xlines - 2, 0); addch('v'); }