diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-02-20 22:18:06 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-02-20 22:18:06 +0100 |
commit | e0807ea4a715334bd9a4795d98cad6e7925b5281 (patch) | |
tree | 59b671fbb9f32847b4afde1ee5c026c8746c4964 /src | |
parent | 0062c2d4f91caa2360933068ac46c55bdd303b53 (diff) | |
download | vim-git-e0807ea4a715334bd9a4795d98cad6e7925b5281.tar.gz |
patch 8.2.0289: Vim9: :echo did not clear the rest of the linev8.2.0289
Problem: Vim9: :echo did not clear the rest of the line.
Solution: Call msg_clr_eos(). (Ken Takata, closes #5668)
Diffstat (limited to 'src')
-rw-r--r-- | src/version.c | 2 | ||||
-rw-r--r-- | src/vim9execute.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/version.c b/src/version.c index 39a0fda14..75e02ffb0 100644 --- a/src/version.c +++ b/src/version.c @@ -739,6 +739,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 289, +/**/ 288, /**/ 287, diff --git a/src/vim9execute.c b/src/vim9execute.c index 7be8cdb92..3bbf94ff6 100644 --- a/src/vim9execute.c +++ b/src/vim9execute.c @@ -527,6 +527,8 @@ call_def_function( &atstart, &needclr); clear_tv(tv); } + if (needclr) + msg_clr_eos(); ectx.ec_stack.ga_len -= count; } break; |