terminal: Redraw statusline on title change #8973

The statusline may incorporate b:term_title, so redraw it when that
title changes.

Introduce a new function status_redraw_buf to redraw windows associated
with the current buffer.
This commit is contained in:
Josh Triplett
2018-09-09 15:14:14 -07:00
committed by Justin M. Keyes
parent 7862c3ae3e
commit 8240b8b596
2 changed files with 10 additions and 5 deletions

View File

@@ -668,6 +668,7 @@ static void buf_set_term_title(buf_T *buf, char *title)
false,
&err);
api_clear_error(&err);
status_redraw_buf(buf);
}
static int term_settermprop(VTermProp prop, VTermValue *val, void *data)