From 9fb0a2f5362a582489754a632856f95094f4097c Mon Sep 17 00:00:00 2001 From: Thomas Koutcher Date: Sun, 21 Feb 2021 16:44:28 +0100 Subject: [PATCH] Restore lazy navigation Restore #83 behaviour that was broken by dd96223265f5bb10af168ffb7ed7b91af9238a43. --- src/pager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pager.c b/src/pager.c index fa745377e..b570de262 100644 --- a/src/pager.c +++ b/src/pager.c @@ -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()