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/ex_getln.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/ex_getln.c')
-rw-r--r-- | src/ex_getln.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ex_getln.c b/src/ex_getln.c index d425b3effb..f9226de6e4 100644 --- a/src/ex_getln.c +++ b/src/ex_getln.c @@ -3890,7 +3890,8 @@ redrawcmd(void) void compute_cmdrow(void) { - if (exmode_active || msg_scrolled != 0) + // ignore "msg_scrolled" in update_screen(), it will be reset soon. + if (exmode_active || (msg_scrolled != 0 && !updating_screen)) cmdline_row = Rows - 1; else cmdline_row = W_WINROW(lastwin) + lastwin->w_height |