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:
@@ -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
|
||||
|
Reference in New Issue
Block a user