]> granicus.if.org Git - vim/commitdiff
patch 8.2.5055: statusline is not updated when terminal title changes v8.2.5055
authorLemonBoy <thatlemon@gmail.com>
Sat, 4 Jun 2022 18:57:59 +0000 (19:57 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 4 Jun 2022 18:57:59 +0000 (19:57 +0100)
Problem:    Statusline is not updated when terminal title changes.
Solution:   Redraw the status line when the title changes. (issue #10425)

src/terminal.c
src/version.c

index fddd087c9b279969cec22f3b87cb875cbdcf8f94..451d59c4d051956d54f1701e20fc8962a8693159 100644 (file)
@@ -3153,7 +3153,10 @@ handle_settermprop(
            }
            VIM_CLEAR(term->tl_status_text);
            if (term == curbuf->b_term)
+           {
                maketitle();
+               curwin->w_redr_status = TRUE;
+           }
            break;
 
        case VTERM_PROP_CURSORVISIBLE:
index f578bffdaf1bee7f3059a1eec0d73a73d1c09135..5e666eda3229b115c7b1fe023e81b0850bcede79 100644 (file)
@@ -734,6 +734,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    5055,
 /**/
     5054,
 /**/