Patch 8.0.0671
Problem:    When a function invoked from a timer calls confirm() and the user
            types CTRL-C then Vim hangs.
Solution:   Reset typebuf_was_filled. (Ozaki Kiichi, closes #1791)
Files:      src/getchar.c


*** ../vim-8.0.0670/src/getchar.c       2017-06-07 20:39:43.429375490 +0200
--- src/getchar.c       2017-06-24 18:41:02.763716496 +0200
***************
*** 467,472 ****
--- 467,477 ----
            ;
        typebuf.tb_off = MAXMAPLEN;
        typebuf.tb_len = 0;
+ #if defined(FEAT_CLIENTSERVER) || defined(FEAT_EVAL)
+       /* Reset the flag that text received from a client or from feedkeys()
+        * was inserted in the typeahead buffer. */
+       typebuf_was_filled = FALSE;
+ #endif
      }
      else                  /* remove mapped characters at the start only */
      {
*** ../vim-8.0.0670/src/version.c       2017-06-24 16:03:02.751998272 +0200
--- src/version.c       2017-06-24 18:42:50.770833704 +0200
***************
*** 766,767 ****
--- 766,769 ----
  {   /* Add new patch number below this line */
+ /**/
+     671,
  /**/


-- 
If your nose runs, and your feet smell, you might be upside down.

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