patch 8.2.2548: May get stuck in the cmdline window using :normal
Problem: May get stuck in the cmdline window using :normal. Solution: Have nv_esc() return K_IGNORE.
This commit is contained in:
10
src/normal.c
10
src/normal.c
@ -6944,6 +6944,16 @@ nv_esc(cmdarg_T *cap)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
#ifdef FEAT_CMDWIN
|
||||||
|
else if (cmdwin_type != 0 && ex_normal_busy)
|
||||||
|
{
|
||||||
|
// When :normal runs out of characters while in the command line window
|
||||||
|
// vgetorpeek() will return ESC. Exit the cmdline window to break the
|
||||||
|
// loop.
|
||||||
|
cmdwin_result = K_IGNORE;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
if (VIsual_active)
|
if (VIsual_active)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -750,6 +750,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
2548,
|
||||||
/**/
|
/**/
|
||||||
2547,
|
2547,
|
||||||
/**/
|
/**/
|
||||||
|
|||||||
Reference in New Issue
Block a user