render: pace title updates

Synchronize window title updates with window rendering.
This commit is contained in:
Daniel Eklöf 2020-03-25 18:23:55 +01:00
parent b46ad6a50a
commit 9bbbd26c7a
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
4 changed files with 34 additions and 16 deletions

View file

@ -1943,7 +1943,7 @@ term_set_window_title(struct terminal *term, const char *title)
{
free(term->window_title);
term->window_title = strdup(title);
render_set_title(term, term->window_title);
render_refresh_title(term);
}
void