Patch 8.1.0052
Problem:    When a mapping to <Nop> times out the next mapping is skipped.
Solution:   Reset "timedout" when waiting for a character. (Christian
            Brabandt, closes #2921)
Files:      src/getchar.c


*** ../vim-8.1.0051/src/getchar.c       2018-05-23 21:53:48.352478970 +0200
--- src/getchar.c       2018-06-12 21:22:30.771274224 +0200
***************
*** 2856,2861 ****
--- 2856,2866 ----
  /*
   * get a character: 3. from the user - get it
   */
+               if (typebuf.tb_len == 0)
+                   // timedout may have been set while waiting for a mapping
+                   // that has a <Nop> RHS.
+                   timedout = FALSE;
+ 
                wait_tb_len = typebuf.tb_len;
                c = inchar(typebuf.tb_buf + typebuf.tb_off + typebuf.tb_len,
                        typebuf.tb_buflen - typebuf.tb_off - typebuf.tb_len - 1,
*** ../vim-8.1.0051/src/version.c       2018-06-12 21:11:08.626548598 +0200
--- src/version.c       2018-06-12 21:28:00.797623373 +0200
***************
*** 763,764 ****
--- 763,766 ----
  {   /* Add new patch number below this line */
+ /**/
+     52,
  /**/

-- 
Portable Computer:  A device invented to force businessmen
to work at home, on vacation, and on business trips.

 /// 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