view src/libvterm/t/45screen_protect.test @ 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 b8299e742f41
children
line wrap: on
line source

INIT
WANTSCREEN 

!Selective erase
RESET
PUSH "A\e[1\"qB\e[\"qC"
  ?screen_chars 0,0,1,3 = 0x41,0x42,0x43
PUSH "\e[G\e[?J"
  ?screen_chars 0,0,1,3 = 0x20,0x42

!Non-selective erase
RESET
PUSH "A\e[1\"qB\e[\"qC"
  ?screen_chars 0,0,1,3 = 0x41,0x42,0x43
PUSH "\e[G\e[J"
  ?screen_chars 0,0,1,3 =