summaryrefslogtreecommitdiff
path: root/src/message.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-09-11 21:36:17 +0100
committerBram Moolenaar <Bram@vim.org>2022-09-11 21:36:17 +0100
commitcf0995d7d7301e36c81cafa14e68782f1d3be2ad (patch)
treeb43bbb3633a186f9b80bb3285b357ef515acc2bd /src/message.c
parent87e74d0e03c6c0267546b2e3a49316f3e84d9794 (diff)
downloadvim-git-cf0995d7d7301e36c81cafa14e68782f1d3be2ad.tar.gz
patch 9.0.0447: using :echowin while at the hit-enter prompt causes problemsv9.0.0447
Problem: Using :echowin while at the hit-enter prompt causes problems. Solution: Do not prompt for :echowin. Postpone showing the message window. Start the timer when the window is displayed.
Diffstat (limited to 'src/message.c')
-rw-r--r--src/message.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/message.c b/src/message.c
index e401882d1..b68c08974 100644
--- a/src/message.c
+++ b/src/message.c
@@ -1157,6 +1157,10 @@ wait_return(int redraw)
// need_wait_return to do it later.
if (msg_silent != 0)
return;
+#ifdef HAS_MESSAGE_WINDOW
+ if (in_echowindow)
+ return;
+#endif
/*
* When inside vgetc(), we can't wait for a typed character at all.