comparison src/vim9execute.c @ 19463:798fce18d049 v8.2.0289

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 <Bram@vim.org> 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)
author Bram Moolenaar <Bram@vim.org>
date Thu, 20 Feb 2020 22:30:04 +0100
parents 423b27246383
children 3b026343f398
comparison
equal deleted inserted replaced
19462:7db8ac16dc8f 19463:798fce18d049
525 tv = STACK_TV_BOT(idx - count); 525 tv = STACK_TV_BOT(idx - count);
526 echo_one(tv, iptr->isn_arg.echo.echo_with_white, 526 echo_one(tv, iptr->isn_arg.echo.echo_with_white,
527 &atstart, &needclr); 527 &atstart, &needclr);
528 clear_tv(tv); 528 clear_tv(tv);
529 } 529 }
530 if (needclr)
531 msg_clr_eos();
530 ectx.ec_stack.ga_len -= count; 532 ectx.ec_stack.ga_len -= count;
531 } 533 }
532 break; 534 break;
533 535
534 // load local variable or argument 536 // load local variable or argument