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 #10425)
diff --git a/src/terminal.c b/src/terminal.c
index fddd087..451d59c 100644
--- a/src/terminal.c
+++ b/src/terminal.c
@@ -3153,7 +3153,10 @@
 	    }
 	    VIM_CLEAR(term->tl_status_text);
 	    if (term == curbuf->b_term)
+	    {
 		maketitle();
+		curwin->w_redr_status = TRUE;
+	    }
 	    break;
 
 	case VTERM_PROP_CURSORVISIBLE: