commit - b90df0a42da7aecd8001bcdfc969cf4502ed29bc
commit + 7d6f72fe0f27b157fe4a83d8f01dd6d5d4900d54
blob - 57e301f8474690a9a283ce3b12f36a45c2b00bf2
blob + 63fb9dc88702817ac24f1d16239ff35e8b660f08
--- rover.c
+++ rover.c
} else if (!strcmp(key, RVK_JUMP_BOTTOM)) {
if (!rover.nfiles) continue;
ESEL = rover.nfiles - 1;
- SCROLL = HEIGHT - rover.nfiles - 1;
+ SCROLL = MAX(rover.nfiles - 1 - HEIGHT, 0);
update_view();
} else if (!strcmp(key, RVK_CD_DOWN)) {
if (!rover.nfiles || !S_ISDIR(EMODE(ESEL))) continue;