0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

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)
This commit is contained in:
ichizok
2022-01-20 14:57:29 +00:00
committed by Bram Moolenaar
parent 726f7f91fd
commit ae1bd87fe8
6 changed files with 11 additions and 0 deletions

View File

@@ -3088,6 +3088,8 @@ handle_settermprop(
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)