mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 7.4.1876
Problem: Typing "k" at the hit-enter prompt has no effect. Solution: Don't assume recursive use of the prompt if a character was typed. (Hirohito Higashi)
This commit is contained in:
@@ -2475,9 +2475,9 @@ do_more_prompt(int typed_char)
|
||||
int i;
|
||||
|
||||
/* We get called recursively when a timer callback outputs a message. In
|
||||
* that case don't show another prompt. Also when at the hit-Enter prompt.
|
||||
*/
|
||||
if (entered || State == HITRETURN)
|
||||
* that case don't show another prompt. Also when at the hit-Enter prompt
|
||||
* and nothing was typed. */
|
||||
if (entered || (State == HITRETURN && typed_char == 0))
|
||||
return FALSE;
|
||||
entered = TRUE;
|
||||
|
||||
|
@@ -753,6 +753,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1876,
|
||||
/**/
|
||||
1875,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user