commit 1144d21ac0a468b7d3893ec69f9329ff0d5391bc from: Stefan Sperling date: Fri Jun 21 20:34:21 2019 UTC don't skip top-most item when scrolling upwards in tog log commit - a2a0b31e448997daec7a0404e857d8b3f5a27584 commit + 1144d21ac0a468b7d3893ec69f9329ff0d5391bc blob - 8a4204eb7f5620133fac4c4eecbfb940c11ea63d blob + 1e70527ac3eef705d5538c39dbe9e6be7834fec6 --- tog/tog.c +++ tog/tog.c @@ -1904,10 +1904,9 @@ input_log_view(struct tog_view **new_view, struct tog_ break; if (s->selected > 0) s->selected--; - if (s->selected > 0) - break; - scroll_up(view, &s->first_displayed_entry, 1, - &s->commits); + else + scroll_up(view, &s->first_displayed_entry, 1, + &s->commits); break; case KEY_PPAGE: case CTRL('b'):