0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 9.0.0321: cannot use the message popup window directly

Problem:    Cannot use the message popup window directly.
Solution:   Add ":echowindow".
This commit is contained in:
Bram Moolenaar
2022-08-29 18:16:32 +01:00
parent 54acb90d9e
commit 37fef16c22
14 changed files with 114 additions and 31 deletions

View File

@@ -3872,6 +3872,8 @@ redrawcmdprompt(void)
void
redrawcmd(void)
{
int save_in_echowindow = in_echowindow;
if (cmd_silent)
return;
@@ -3883,6 +3885,9 @@ redrawcmd(void)
return;
}
// Do not put this in the message window.
in_echowindow = FALSE;
sb_text_restart_cmdline();
msg_start();
redrawcmdprompt();
@@ -3906,6 +3911,8 @@ redrawcmd(void)
// Typing ':' at the more prompt may set skip_redraw. We don't want this
// in cmdline mode
skip_redraw = FALSE;
in_echowindow = save_in_echowindow;
}
void