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

patch 8.2.0289: Vim9: :echo did not clear the rest of the line

Problem:    Vim9: :echo did not clear the rest of the line.
Solution:   Call msg_clr_eos(). (Ken Takata, closes #5668)
This commit is contained in:
Bram Moolenaar
2020-02-20 22:18:06 +01:00
parent 0062c2d4f9
commit e0807ea4a7
2 changed files with 4 additions and 0 deletions

View File

@@ -527,6 +527,8 @@ call_def_function(
&atstart, &needclr);
clear_tv(tv);
}
if (needclr)
msg_clr_eos();
ectx.ec_stack.ga_len -= count;
}
break;