0
0
mirror of https://github.com/vim/vim.git synced 2025-07-24 10:45:12 -04:00

patch 8.2.4210: window title test fails in some configurations

Problem:    Window title test fails in some configurations.
Solution:   Only run the test if the title can be obtained.
This commit is contained in:
Bram Moolenaar 2022-01-24 22:02:15 +00:00
parent 3e93a2b075
commit a6c09a7c20
2 changed files with 5 additions and 0 deletions

View File

@ -1632,6 +1632,9 @@ endfunc
func Test_setbufvar_keep_window_title()
CheckRunVimInTerminal
if !has('title') || empty(&t_ts)
throw "Skipped: can't get/set title"
endif
let lines =<< trim END
edit Xa.txt

View File

@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
4210,
/**/
4209,
/**/