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().
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;
}
/*****************************************************************************
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 275,
/**/
274,
/**/