From 809a9f4877cd60312dfb5fb314dd250d74a386fc Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Tue, 21 Aug 2007 00:35:32 +0200 Subject: [PATCH] Only show the command being loaded from for the pager view This feature was introduced in 035ba11f40c0a045989ed861e72327012af022b4. --- tig.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tig.c b/tig.c index e57ec4d..541a8df 100644 --- a/tig.c +++ b/tig.c @@ -1818,7 +1818,10 @@ begin_update(struct view *view) /* When running random commands, initially show the * command in the title. However, it maybe later be * overwritten if a commit line is selected. */ - string_copy(view->ref, view->cmd); + if (view == VIEW(REQ_VIEW_PAGER)) + string_copy(view->ref, view->cmd); + else + view->ref[0] = 0; } else if (view == VIEW(REQ_VIEW_TREE)) { const char *format = view->cmd_env ? view->cmd_env : view->cmd_fmt; -- 2.32.0.93.g670b81a890