From: Jonas Fonseca Date: Thu, 3 Apr 2008 14:46:00 +0000 (+0200) Subject: Reload the status and stage views after a run request has been handled X-Git-Tag: tig-0.11~15 X-Git-Url: https://git.distorted.org.uk/~mdw/tig/commitdiff_plain/1e61580b7bdf4f60e4b222f9aeb9421a50c27eb2?ds=sidebyside Reload the status and stage views after a run request has been handled --- 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) {