summaryrefslogtreecommitdiffstats
path: root/src/terminal.c
diff options
context:
space:
mode:
authorichizok <gclient.gaap@gmail.com>2022-01-20 14:57:29 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-20 14:57:29 +0000
commitae1bd87fe84bfb31379bc5da351bca56a3d3b571 (patch)
treec2ddc317dba707c0a90991ab3153f355151c4e53 /src/terminal.c
parent726f7f91fd17e3e7eb39614a20d10ea83c134df0 (diff)
patch 8.2.4157: terminal test fails because Windows sets the titlev8.2.4157
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)
Diffstat (limited to 'src/terminal.c')
-rw-r--r--src/terminal.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/terminal.c b/src/terminal.c
index f32d3adea3..43a216f951 100644
--- a/src/terminal.c
+++ b/src/terminal.c
@@ -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)