From: Bram Moolenaar Date: Sat, 5 Aug 2017 16:19:55 +0000 (+0200) Subject: patch 8.0.0871: status line for a terminal window always has "[+]". X-Git-Tag: v8.0.0871 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=086d535f775da1abc557f5f28d101ff3308dc18f;p=vim 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. --- diff --git a/src/screen.c b/src/screen.c index 77d0e4f9b..fb7c3ceba 100644 --- a/src/screen.c +++ b/src/screen.c @@ -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; diff --git a/src/version.c b/src/version.c index 195be511e..758ea2059 100644 --- a/src/version.c +++ b/src/version.c @@ -769,6 +769,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 871, /**/ 870, /**/