Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

raise titlebar count to highest known item on stop-loading action #629

Merged
merged 1 commit into from
Jul 4, 2017

Conversation

rolandwalker
Copy link
Contributor

After #622, the titlebar counts could be stuck lower than the maximum known value if the user did stop-loading.

@rolandwalker rolandwalker changed the title move titlebar count to highest known item on stop-loading action raise titlebar count to highest known item on stop-loading action Jun 30, 2017
src/tig.c Outdated
@@ -305,6 +305,7 @@ view_driver(struct view *view, enum request request)
report("Stopped loading the %s view", view->name),
end_update(view, true);
}
redraw_display(true);
Copy link
Owner

@jonas jonas Jun 30, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Calling update_view_title would be better.

@rolandwalker rolandwalker force-pushed the max-line-when-stop-loading branch from 30d482a to 7d30f28 Compare June 30, 2017 21:58
@jonas jonas merged commit 76700c8 into jonas:master Jul 4, 2017
@rolandwalker rolandwalker deleted the max-line-when-stop-loading branch July 4, 2017 01:44
@jonas jonas modified the milestone: tig-2.3 Jul 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants