From 7c2811f5f66b8dce0e39057048922cceef94eb7f Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Fri, 2 Aug 2019 21:01:46 +0100 Subject: [PATCH] framebuffer/local_history: Scroll to cursor on open Signed-off-by: Daniel Silverstone --- frontends/framebuffer/local_history.c | 1 + 1 file changed, 1 insertion(+) diff --git a/frontends/framebuffer/local_history.c b/frontends/framebuffer/local_history.c index cc45b1f29..c1963e2b1 100644 --- a/frontends/framebuffer/local_history.c +++ b/frontends/framebuffer/local_history.c @@ -205,6 +205,7 @@ nserror fb_local_history_present(fbtk_widget_t *parent, fbtk_set_zorder(local_history_window->core.wnd, INT_MIN); fbtk_set_mapping(local_history_window->core.wnd, true); + local_history_scroll_to_cursor(local_history_window->session); } return res;