summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-08-12 20:11:53 +0200
committerBram Moolenaar <Bram@vim.org>2017-08-12 20:11:53 +0200
commitc977092053e1a27f571f8a27126717cc28af4e58 (patch)
tree51c7a828a5acb5c19a875fe5d7128f490ab3bd46
parent3cd43ccccb03b2e68df9c8a344a87e51c007c656 (diff)
downloadvim-git-c977092053e1a27f571f8a27126717cc28af4e58.tar.gz
patch 8.0.0919: cursor color isn't set on startupv8.0.0919
Problem: Cursor color isn't set on startup. Solution: Initialize showing_mode to invalid value.
-rw-r--r--src/term.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/term.c b/src/term.c
index 80545ad81..d72f58c32 100644
--- 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
diff --git a/src/version.c b/src/version.c
index c3918a2dd..fa404b63d 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 */
/**/
+ 919,
+/**/
918,
/**/
917,