0
0
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:
Bram Moolenaar
2019-11-05 21:53:20 +01:00
parent ae20f340ad
commit dc968e7a45
2 changed files with 4 additions and 0 deletions

View File

@@ -985,6 +985,8 @@ prompt_for_number(int *mouse_used)
if (msg_row > 0)
cmdline_row = msg_row - 1;
need_wait_return = FALSE;
msg_didany = FALSE;
msg_didout = FALSE;
}
else
cmdline_row = save_cmdline_row;

View File

@@ -741,6 +741,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
2258,
/**/
2257,
/**/