mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
updated for version 7.4.468
Problem: Issue 26: CTRL-C does not interrupt after it was mapped and then unmapped. Solution: Reset mapped_ctrl_c. (Christian Brabandt)
This commit is contained in:
parent
404406ad6b
commit
9a95bdc52a
@ -3707,6 +3707,9 @@ do_map(maptype, arg, mode, abbrev)
|
||||
{
|
||||
if (!did_it)
|
||||
retval = 2; /* no match */
|
||||
else if (*keys == Ctrl_C)
|
||||
/* If CTRL-C has been unmapped, reuse it for Interrupting. */
|
||||
mapped_ctrl_c = FALSE;
|
||||
goto theend;
|
||||
}
|
||||
|
||||
@ -3739,7 +3742,7 @@ do_map(maptype, arg, mode, abbrev)
|
||||
goto theend;
|
||||
}
|
||||
|
||||
/* If CTRL-C has been mapped, don't always use it for Interrupting */
|
||||
/* If CTRL-C has been mapped, don't always use it for Interrupting. */
|
||||
if (*keys == Ctrl_C)
|
||||
mapped_ctrl_c = TRUE;
|
||||
|
||||
|
@ -741,6 +741,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
468,
|
||||
/**/
|
||||
467,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user