summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonas Fonseca <jonas.fonseca@gmail.com>2017-07-03 21:00:24 -0400
committerGitHub <noreply@github.com>2017-07-03 21:00:24 -0400
commit76700c822e1c79bf568cf35a0000b6f5a850a7f0 (patch)
tree07b4bf5ad9c23fd4648ff47c2aa587b2262f49d1
parent077f9dbe5b286dd17c0017e0c825605cce1d3f62 (diff)
parent7d30f2835cb7889762cb0e248af24927b617e871 (diff)
Merge pull request #629 from rolandwalker/max-line-when-stop-loading
raise titlebar count to highest known item on stop-loading action
-rw-r--r--src/tig.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tig.c b/src/tig.c
index 56226787..9422e4fb 100644
--- a/src/tig.c
+++ b/src/tig.c
@@ -304,6 +304,8 @@ view_driver(struct view *view, enum request request)
if (view->pipe)
report("Stopped loading the %s view", view->name),
end_update(view, true);
+ if (view_is_displayed(view))
+ update_view_title(view);
}
break;