commit 925e6f230ee6e0403012bf610faf83e908b7b087 from: Stefan Sperling date: Sun May 20 10:40:31 2018 UTC allow scrolling tog diff view with enter/backspace commit - cd0acaa77f0415b3788c97a19f4419b6bf20ece8 commit + 925e6f230ee6e0403012bf610faf83e908b7b087 blob - 54fc8c0350942b78eb2201519557d38ac35ffca1 blob + e25023494ac147c30bffdcb1caead539b82cc7f8 --- tog/tog.c +++ tog/tog.c @@ -876,11 +876,14 @@ show_diff_view(struct got_object *obj1, struct got_obj break; case 'k': case KEY_UP: + case KEY_BACKSPACE: if (first_displayed_line > 1) first_displayed_line--; break; case 'j': case KEY_DOWN: + case KEY_ENTER: + case '\r': if (!eof) first_displayed_line++; break;