changeset 29067:87c00c420d27 v8.2.5055

patch 8.2.5055: statusline is not updated when terminal title changes Commit: https://github.com/vim/vim/commit/327e6dd82235d70f6d5aa33ac8281e7fd79b7381 Author: LemonBoy <thatlemon@gmail.com> Date: Sat Jun 4 19:57:59 2022 +0100 patch 8.2.5055: statusline is not updated when terminal title changes Problem: Statusline is not updated when terminal title changes. Solution: Redraw the status line when the title changes. (issue https://github.com/vim/vim/issues/10425)
author Bram Moolenaar <Bram@vim.org>
date Sat, 04 Jun 2022 21:00:03 +0200
parents f8e9d5023bf6
children 912284d1b1e1
files src/terminal.c src/version.c
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/terminal.c
+++ b/src/terminal.c
@@ -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:
--- a/src/version.c
+++ b/src/version.c
@@ -735,6 +735,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    5055,
+/**/
     5054,
 /**/
     5053,