Patch 8.0.0275
Problem:    When checking for CTRL-C typed the GUI may detect a screen resize
            and redraw the screen, causing trouble.
Solution:   Set updating_screen in ui_breakcheck().
Files:      src/ui.c


*** ../vim-8.0.0274/src/ui.c    2016-09-29 15:18:51.351768068 +0200
--- src/ui.c    2017-01-31 22:05:10.684588423 +0100
***************
*** 363,374 ****
--- 363,381 ----
      void
  ui_breakcheck_force(int force)
  {
+     int save_us = updating_screen;
+ 
+     /* We do not want gui_resize_shell() to redraw the screen here. */
+     ++updating_screen;
+ 
  #ifdef FEAT_GUI
      if (gui.in_use)
        gui_mch_update();
      else
  #endif
        mch_breakcheck(force);
+ 
+     updating_screen = save_us;
  }
  
  /*****************************************************************************
*** ../vim-8.0.0274/src/version.c       2017-01-31 21:53:35.045154104 +0100
--- src/version.c       2017-01-31 22:06:35.724031905 +0100
***************
*** 766,767 ****
--- 766,769 ----
  {   /* Add new patch number below this line */
+ /**/
+     275,
  /**/

-- 
TIM:    Too late.
ARTHUR: What?
TIM:    There he is!
   [They all turn, and see a large white RABBIT lollop a few yards out of the
   cave.  Accompanied by terrifying chord and jarring metallic monster noise.]
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

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