changeset 12078:d21b8f31b296 v8.0.0919

patch 8.0.0919: cursor color isn't set on startup commit https://github.com/vim/vim/commit/c977092053e1a27f571f8a27126717cc28af4e58 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Aug 12 20:11:53 2017 +0200 patch 8.0.0919: cursor color isn't set on startup Problem: Cursor color isn't set on startup. Solution: Initialize showing_mode to invalid value.
author Christian Brabandt <cb@256bit.org>
date Sat, 12 Aug 2017 20:15:04 +0200
parents 7323503da3ee
children 7fc20bec7214
files src/term.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/term.c
+++ b/src/term.c
@@ -3670,7 +3670,7 @@ cursor_off(void)
     void
 term_cursor_mode(int forced)
 {
-    static int showing_mode = NORMAL;
+    static int showing_mode = -1;
     char_u *p;
 
     /* Only do something when redrawing the screen and we can restore the
--- 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 */
 /**/
+    919,
+/**/
     918,
 /**/
     917,