patch 8.2.4157: terminal test fails because Windows sets the title
Problem: Terminal test fails because Windows sets the title.
Solution: Add the "vterm_title" testing override and use it in the test.
(Ozaki Kiichi, closes #9556)
diff --git a/src/terminal.c b/src/terminal.c
index f32d3ad..43a216f 100644
--- a/src/terminal.c
+++ b/src/terminal.c
@@ -3088,6 +3088,8 @@
switch (prop)
{
case VTERM_PROP_TITLE:
+ if (disable_vterm_title_for_testing)
+ break;
strval = vim_strnsave((char_u *)value->string.str,
value->string.len);
if (strval == NULL)