Patch 8.0.0919
Problem:    Cursor color isn't set on startup.
Solution:   Initialize showing_mode to invalid value.
Files:      src/term.c


*** ../vim-8.0.0918/src/term.c  2017-08-12 19:51:37.819214168 +0200
--- src/term.c  2017-08-12 20:07:35.245548285 +0200
***************
*** 3670,3676 ****
      void
  term_cursor_mode(int forced)
  {
!     static int showing_mode = NORMAL;
      char_u *p;
  
      /* Only do something when redrawing the screen and we can restore the
--- 3670,3676 ----
      void
  term_cursor_mode(int forced)
  {
!     static int showing_mode = -1;
      char_u *p;
  
      /* Only do something when redrawing the screen and we can restore the
*** ../vim-8.0.0918/src/version.c       2017-08-12 19:51:37.823214144 +0200
--- src/version.c       2017-08-12 20:11:03.460316492 +0200
***************
*** 771,772 ****
--- 771,774 ----
  {   /* Add new patch number below this line */
+ /**/
+     919,
  /**/

-- 
Dogs must have a permit signed by the mayor in order to congregate in groups
of three or more on private property.
                [real standing law in Oklahoma, United States of America]

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui