summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-08-05 18:19:55 +0200
committerBram Moolenaar <Bram@vim.org>2017-08-05 18:19:55 +0200
commit086d535f775da1abc557f5f28d101ff3308dc18f (patch)
treed27bd4197947b552e7d1afb4641f0fafff4b4a2f
parentb9279e73aee44a266c241619db65c645f7db72ee (diff)
downloadvim-git-086d535f775da1abc557f5f28d101ff3308dc18f.tar.gz
patch 8.0.0871: status line for a terminal window always has "[+]".v8.0.0871
Problem: The status line for a terminal window always has "[+]". Solution: Do make the status line include "[+]" for a terminal window.
-rw-r--r--src/screen.c6
-rw-r--r--src/version.c2
2 files changed, 7 insertions, 1 deletions
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
@@ -770,6 +770,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 871,
+/**/
870,
/**/
869,