summaryrefslogtreecommitdiff
path: root/src/message.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/message.c')
-rw-r--r--src/message.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/message.c b/src/message.c
index d3572eb42..5bd602784 100644
--- a/src/message.c
+++ b/src/message.c
@@ -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;