Skip to content

Commit

Permalink
Restore lazy navigation
Browse files Browse the repository at this point in the history
Restore #83 behaviour that was broken by dd96223.
  • Loading branch information
koutcher committed Feb 21, 2021
1 parent 3041805 commit 9fb0a2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pager.c
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ pager_request(struct view *view, enum request request, struct line *line)
/* Always scroll the view even if it was split. That way
* you can use Enter to scroll through the log view and
* split open each commit diff. */
if (view == display[current_view])
if (view == display[current_view] || !opt_focus_child)
scroll_view(view, REQ_SCROLL_LINE_DOWN);

/* FIXME: A minor workaround. Scrolling the view will call report_clear()
Expand Down

0 comments on commit 9fb0a2f

Please sign in to comment.