We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c4cfc8e + c47071c commit 5c0833bCopy full SHA for 5c0833b
1 file changed
src/filemanager/panel.c
@@ -2347,6 +2347,7 @@ goto_middle_file (WPanel *panel)
2347
2348
unselect_item (panel);
2349
panel->current = panel->top + panel_items (panel) / 2;
2350
+ panel->current = MIN (panel->current, panel->dir.len - 1);
2351
select_item (panel);
2352
}
2353
@@ -2360,6 +2361,7 @@ goto_bottom_file (WPanel *panel)
2360
2361
2362
2363
panel->current = panel->top + panel_items (panel) - 1;
2364
2365
2366
2367
0 commit comments