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/screen.c | |
parent | 87e74d0e03c6c0267546b2e3a49316f3e84d9794 (diff) |
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/screen.c')
-rw-r--r-- | src/screen.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/screen.c b/src/screen.c index 12377d56bf..27f4848378 100644 --- a/src/screen.c +++ b/src/screen.c @@ -3038,18 +3038,18 @@ screenclear2(int doclear) screen_cleared = TRUE; // can use contents of ScreenLines now win_rest_invalid(firstwin); // redraw all regular windows -#ifdef FEAT_PROP_POPUP - popup_redraw_all(); // redraw all popup windows -#endif redraw_cmdline = TRUE; redraw_tabline = TRUE; if (must_redraw == UPD_CLEAR) // no need to clear again must_redraw = UPD_NOT_VALID; + msg_scrolled = 0; // compute_cmdrow() uses this compute_cmdrow(); +#ifdef FEAT_PROP_POPUP + popup_redraw_all(); // redraw all popup windows +#endif msg_row = cmdline_row; // put cursor on last line for messages msg_col = 0; screen_start(); // don't know where cursor is now - msg_scrolled = 0; // can't scroll back msg_didany = FALSE; msg_didout = FALSE; } |