commit dccb68cbf18a5c37081c79ae6168daac4c60d882 from: Stefan Sperling date: Thu Jul 12 21:29:54 2018 UTC disable enter key scroll in tog diff view commit - 38f945301c3860c6ab41b2aefa82733b72b41e94 commit + dccb68cbf18a5c37081c79ae6168daac4c60d882 blob - 6cbea764f8eeb0d5b89b5942a6b6342fb0b7bdbc blob + dcd134caf7070697867b72bfa2aecf3dcc285c91 --- tog/tog.1 +++ tog/tog.1 @@ -96,7 +96,7 @@ The key bindings for .Cm tog diff are as follows: .Bl -tag -width Ds -.It Cm Down-arrow, j, Page-down, Space, Enter +.It Cm Down-arrow, j, Page-down, Space Scroll down. .It Cm Up-arrow, k, Page-up, Backspace Scroll up. blob - 57e777c0c6024965628eef0431857f347f31b0e3 blob + 4f289f3a0cacea3b4a2f4656e89e3a5c3679e090 --- tog/tog.c +++ tog/tog.c @@ -986,8 +986,6 @@ show_diff_view(struct got_object *obj1, struct got_obj break; case 'j': case KEY_DOWN: - case KEY_ENTER: - case '\r': if (!eof) first_displayed_line++; break;