Patch 8.1.1358
Problem:    Cannot enter character with a CSI byte.
Solution:   Only check "gui.in_use" when VIMDLL is defined. (Ken Takata,
            closes #4396)
Files:      src/getchar.c


*** ../vim-8.1.1357/src/getchar.c       2019-05-04 19:59:56.544589575 +0200
--- src/getchar.c       2019-05-19 21:56:04.998657784 +0200
***************
*** 1453,1461 ****
        oldcurscript = curscript;
        do
        {
!           update_topline_cursor();    /* update cursor position and topline */
!           normal_cmd(&oa, FALSE);     /* execute one command */
!           vpeekc();                   /* check for end of file */
        }
        while (scriptin[oldcurscript] != NULL);
  
--- 1453,1461 ----
        oldcurscript = curscript;
        do
        {
!           update_topline_cursor();    // update cursor position and topline
!           normal_cmd(&oa, FALSE);     // execute one command
!           vpeekc();                   // check for end of file
        }
        while (scriptin[oldcurscript] != NULL);
  
***************
*** 1753,1759 ****
                    buf[i] = vgetorpeek(TRUE);
                    if (buf[i] == K_SPECIAL
  #ifdef FEAT_GUI
!                           || (gui.in_use && buf[i] == CSI)
  #endif
                            )
                    {
--- 1753,1763 ----
                    buf[i] = vgetorpeek(TRUE);
                    if (buf[i] == K_SPECIAL
  #ifdef FEAT_GUI
!                           || (
! # ifdef VIMDLL
!                               gui.in_use &&
! # endif
!                               buf[i] == CSI)
  #endif
                            )
                    {
*** ../vim-8.1.1357/src/version.c       2019-05-19 21:44:03.982804746 +0200
--- src/version.c       2019-05-19 21:56:51.186400834 +0200
***************
*** 769,770 ****
--- 769,772 ----
  {   /* Add new patch number below this line */
+ /**/
+     1358,
  /**/

-- 
Q:  What's a light-year?
A:  One-third less calories than a regular year.

 /// 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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/201905191957.x4JJvQu9023290%40masaka.moolenaar.net.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui