Skip to content
Snippets Groups Projects
Commit bed7beca authored by Bram Moolenaar's avatar Bram Moolenaar
Browse files

Fix: when resetting both 'title' and 'icon' the title would be set after a

shell command.
Reset 'title' and 'icon' in test47 to avoid the xterm title getting messed up.
parent 8220a681
No related merge requests found
...@@ -3134,7 +3134,7 @@ maketitle() ...@@ -3134,7 +3134,7 @@ maketitle()
} }
need_maketitle = FALSE; need_maketitle = FALSE;
if (!p_title && !p_icon) if (!p_title && !p_icon && lasttitle == NULL && lasticon == NULL)
return; return;
if (p_title) if (p_title)
......
...@@ -2,6 +2,8 @@ Tests for vertical splits and filler lines in diff mode ...@@ -2,6 +2,8 @@ Tests for vertical splits and filler lines in diff mode
STARTTEST STARTTEST
:so small.vim :so small.vim
:" Disable the title to avoid xterm keeping the wrong one.
:set notitle noicon
/^1 /^1
yG:new yG:new
pkdd:w! Xtest pkdd:w! Xtest
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment