From 086d535f775da1abc557f5f28d101ff3308dc18f Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 5 Aug 2017 18:19:55 +0200 Subject: 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. --- src/screen.c | 6 +++++- src/version.c | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) 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, /**/ -- cgit v1.2.1