0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

patch 9.0.0447: using :echowin while at the hit-enter prompt causes problems

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.
This commit is contained in:
Bram Moolenaar
2022-09-11 21:36:17 +01:00
parent 87e74d0e03
commit cf0995d7d7
8 changed files with 85 additions and 7 deletions

View File

@@ -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.