Permalink
Browse files

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.
  • Loading branch information...
brammool committed Aug 5, 2017
1 parent b9279e7 commit 086d535f775da1abc557f5f28d101ff3308dc18f
Showing with 7 additions and 1 deletion.
  1. +5 −1 src/screen.c
  2. +2 −0 src/version.c
View
@@ -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
@@ -769,6 +769,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
871,
/**/
870,
/**/

0 comments on commit 086d535

Please sign in to comment.