mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 8.1.2258: may get hit-enter prompt after entering a number
Problem: May get hit-enter prompt after entering a number. (Malcolm Rowe) Solution: Put back accidentally deleted lines. (closes #5176)
This commit is contained in:
@@ -985,6 +985,8 @@ prompt_for_number(int *mouse_used)
|
|||||||
if (msg_row > 0)
|
if (msg_row > 0)
|
||||||
cmdline_row = msg_row - 1;
|
cmdline_row = msg_row - 1;
|
||||||
need_wait_return = FALSE;
|
need_wait_return = FALSE;
|
||||||
|
msg_didany = FALSE;
|
||||||
|
msg_didout = FALSE;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
cmdline_row = save_cmdline_row;
|
cmdline_row = save_cmdline_row;
|
||||||
|
@@ -741,6 +741,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 */
|
||||||
|
/**/
|
||||||
|
2258,
|
||||||
/**/
|
/**/
|
||||||
2257,
|
2257,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user