Patch 8.0.1354
Problem:    Shift-Insert doesn't always work in MS-Windows console.
Solution:   Handle K_NUL differently. (Yasuhiro Matsumoto, closes #2381)
Files:      src/os_win32.c


*** ../vim-8.0.1353/src/os_win32.c      2017-11-21 18:11:23.657015881 +0100
--- src/os_win32.c      2017-11-28 18:06:59.687014368 +0100
***************
*** 1817,1825 ****
                    typeahead[typeaheadlen] = c;
                if (ch2 != NUL)
                {
!                   typeahead[typeaheadlen + n] = 3;
!                   typeahead[typeaheadlen + n + 1] = (char_u)ch2;
!                   n += 2;
                }
  
                if (conv)
--- 1817,1834 ----
                    typeahead[typeaheadlen] = c;
                if (ch2 != NUL)
                {
!                   if (c == K_NUL)
!                   {
!                       /* fAnsiKey */
!                       typeahead[typeaheadlen + n] = (char_u)ch2;
!                       n++;
!                   }
!                   else
!                   {
!                       typeahead[typeaheadlen + n] = 3;
!                       typeahead[typeaheadlen + n + 1] = (char_u)ch2;
!                       n += 2;
!                   }
                }
  
                if (conv)
*** ../vim-8.0.1353/src/version.c       2017-11-28 18:03:39.936084387 +0100
--- src/version.c       2017-11-28 18:06:07.239295626 +0100
***************
*** 773,774 ****
--- 773,776 ----
  {   /* Add new patch number below this line */
+ /**/
+     1354,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
46. Your wife makes a new rule: "The computer cannot come to bed."

 /// Bram Moolenaar -- [email protected] -- 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui