Permalink
Browse files

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.
  • Loading branch information...
brammool committed Aug 12, 2017
1 parent 3cd43cc commit c977092053e1a27f571f8a27126717cc28af4e58
Showing with 3 additions and 1 deletion.
  1. +1 −1 src/term.c
  2. +2 −0 src/version.c
View
@@ -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
View
@@ -769,6 +769,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
919,
/**/
918,
/**/

0 comments on commit c977092

Please sign in to comment.