view src/libvterm/t/45screen_protect.test @ 19860:37c4779ca8f5 v8.2.0486

patch 8.2.0486: Vim9: some code and error messages not tested Commit: https://github.com/vim/vim/commit/9be61bbb170ed3df0e408c8ac12516e772dc0b75 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Mar 30 22:51:24 2020 +0200 patch 8.2.0486: Vim9: some code and error messages not tested Problem: Vim9: some code and error messages not tested. Solution: Add more tests.
author Bram Moolenaar <Bram@vim.org>
date Mon, 30 Mar 2020 23:00:05 +0200
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 =