commit 6bb6ddfe8a6f5f13bdd5b7f0dfdfd2842ac5a3d5 parent 4bc8e1a8be7d3ac2b9788a1557afb8981c4aea1c Author: Arun Prakash Jana <engineerarun@gmail.com> Date: Sat, 29 May 2021 03:40:00 +0530 Fix condition Diffstat:
| M | src/nnn.c | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/nnn.c b/src/nnn.c @@ -6011,8 +6011,8 @@ static void redraw(char *path) g_state.dircolor = 0; } - /* Go to first entry */ - if (i < ndents) { + /* Go to last entry */ + if (onscreen < ndents) { move(xlines - 2, 0); addch('v'); }