diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-08-05 18:19:55 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-08-05 18:19:55 +0200 |
commit | 086d535f775da1abc557f5f28d101ff3308dc18f (patch) | |
tree | d27bd4197947b552e7d1afb4641f0fafff4b4a2f | |
parent | b9279e73aee44a266c241619db65c645f7db72ee (diff) | |
download | vim-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.c | 6 | ||||
-rw-r--r-- | src/version.c | 2 |
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, |