mirror of
https://github.com/vim/vim.git
synced 2025-09-02 21:13:50 -04:00
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.
This commit is contained in:
parent
8220a6813e
commit
bed7beca58
@ -3134,7 +3134,7 @@ maketitle()
|
||||
}
|
||||
|
||||
need_maketitle = FALSE;
|
||||
if (!p_title && !p_icon)
|
||||
if (!p_title && !p_icon && lasttitle == NULL && lasticon == NULL)
|
||||
return;
|
||||
|
||||
if (p_title)
|
||||
|
@ -2,6 +2,8 @@ Tests for vertical splits and filler lines in diff mode
|
||||
|
||||
STARTTEST
|
||||
:so small.vim
|
||||
:" Disable the title to avoid xterm keeping the wrong one.
|
||||
:set notitle noicon
|
||||
/^1
|
||||
yG:new
|
||||
pkdd:w! Xtest
|
||||
|
Loading…
x
Reference in New Issue
Block a user