forked from aniani/vim
updated for version 7.4.441
Problem: Endless loop and other problems when 'cedit' is set to CTRL-C. Solution: Do not call ex_window() when ex_normal_busy or got_int was set. (Yasuhiro Matsumoto)
This commit is contained in:
@@ -759,11 +759,14 @@ getcmdline(firstc, count, indent)
|
||||
#ifdef FEAT_CMDWIN
|
||||
if (c == cedit_key || c == K_CMDWIN)
|
||||
{
|
||||
/*
|
||||
* Open a window to edit the command line (and history).
|
||||
*/
|
||||
c = ex_window();
|
||||
some_key_typed = TRUE;
|
||||
if (ex_normal_busy == 0 && got_int == FALSE)
|
||||
{
|
||||
/*
|
||||
* Open a window to edit the command line (and history).
|
||||
*/
|
||||
c = ex_window();
|
||||
some_key_typed = TRUE;
|
||||
}
|
||||
}
|
||||
# ifdef FEAT_DIGRAPHS
|
||||
else
|
||||
|
@@ -741,6 +741,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
441,
|
||||
/**/
|
||||
440,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user