diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-09-11 21:36:17 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-09-11 21:36:17 +0100 |
commit | cf0995d7d7301e36c81cafa14e68782f1d3be2ad (patch) | |
tree | b43bbb3633a186f9b80bb3285b357ef515acc2bd /src/message.c | |
parent | 87e74d0e03c6c0267546b2e3a49316f3e84d9794 (diff) | |
download | vim-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.c | 4 |
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. |