0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 8.0.0871: status line for a terminal window always has "[+]".

Problem:    The status line for a terminal window always has "[+]".
Solution:   Do make the status line include "[+]" for a terminal window.
This commit is contained in:
Bram Moolenaar 2017-08-05 18:19:55 +02:00
parent b9279e73ae
commit 086d535f77
2 changed files with 7 additions and 1 deletions

View File

@ -6893,7 +6893,11 @@ win_redr_status(win_T *wp)
len += (int)STRLEN(p + len);
}
#endif
if (bufIsChanged(wp->w_buffer))
if (bufIsChanged(wp->w_buffer)
#ifdef FEAT_TERMINAL
&& !bt_terminal(wp->w_buffer)
#endif
)
{
STRCPY(p + len, "[+]");
len += 3;

View File

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