From 1e61580b7bdf4f60e4b222f9aeb9421a50c27eb2 Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Thu, 3 Apr 2008 16:46:00 +0200 Subject: [PATCH] Reload the status and stage views after a run request has been handled --- tig.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tig.c b/tig.c index 8fec47d..0ceeb80 100644 --- a/tig.c +++ b/tig.c @@ -2508,7 +2508,12 @@ view_driver(struct view *view, enum request request) if (request > REQ_NONE) { open_run_request(request); - return TRUE; + /* FIXME: When all views can refresh always do this. */ + if (view == VIEW(REQ_VIEW_STATUS) || + view == VIEW(REQ_VIEW_STAGE)) + request = REQ_REFRESH; + else + return TRUE; } if (view && view->lines) { -- 2.30.2