commit d4f21010cae40e9c39ecc193e7b5bc83684516b5 from: Marcel Rodrigues date: Sun Jun 14 16:45:09 2015 UTC Let scroll correction to update_view() when possible. commit - 5faa0a6b41cf99c0675101d3702a48a81650a936 commit + d4f21010cae40e9c39ecc193e7b5bc83684516b5 blob - 25585b465d53880c8b5e0f3a7868f6260ca48564 blob + 2619b79462368c2de6e0de11b4c76f22286389f0 --- rover.c +++ rover.c @@ -890,12 +890,10 @@ main(int argc, char *argv[]) } else if (!strcmp(key, RVK_JUMP_TOP)) { if (!rover.nfiles) continue; ESEL = 0; - SCROLL = 0; update_view(); } else if (!strcmp(key, RVK_JUMP_BOTTOM)) { if (!rover.nfiles) continue; ESEL = 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;