mirror of
https://github.com/vim/vim.git
synced 2025-11-15 23:14:06 -05:00
patch 9.0.0350: :echowindow does not work in a compiled function
Problem: :echowindow does not work in a compiled function. Solution: Handle the expression at compile time.
This commit is contained in:
@@ -2731,12 +2731,8 @@ channel_exe_cmd(channel_T *channel, ch_part_T part, typval_T *argv)
|
||||
}
|
||||
else if (STRCMP(cmd, "redraw") == 0)
|
||||
{
|
||||
exarg_T ea;
|
||||
|
||||
ch_log(channel, "redraw");
|
||||
CLEAR_FIELD(ea);
|
||||
ea.forceit = *arg != NUL;
|
||||
ex_redraw(&ea);
|
||||
redraw_cmd(*arg != NUL);
|
||||
showruler(FALSE);
|
||||
setcursor();
|
||||
out_flush_cursor(TRUE, FALSE);
|
||||
|
||||
Reference in New Issue
Block a user