mirror of
https://github.com/neovim/neovim.git
synced 2025-09-23 19:48:32 +00:00
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:

committed by
Justin M. Keyes

parent
7862c3ae3e
commit
8240b8b596
@@ -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)
|
||||
|
Reference in New Issue
Block a user