# HG changeset patch # User Bram Moolenaar # Date 1582234204 -3600 # Node ID 798fce18d0491b5bf82097cbbe4ad35974e714bc # Parent 7db8ac16dc8f41d4d401daa70fe250e4561b975c patch 8.2.0289: Vim9: :echo did not clear the rest of the line Commit: https://github.com/vim/vim/commit/e0807ea4a715334bd9a4795d98cad6e7925b5281 Author: Bram Moolenaar Date: Thu Feb 20 22:18:06 2020 +0100 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 https://github.com/vim/vim/issues/5668) diff --git a/src/version.c b/src/version.c --- 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 --- 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;