view src/libvterm/t/45screen_protect.test @ 19481:c27837cbe922 v8.2.0298

patch 8.2.0298: Vim9 script: cannot start command with a string constant Commit: https://github.com/vim/vim/commit/0c6ceaf90389b41545d803458c4813013811c756 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Feb 22 18:36:32 2020 +0100 patch 8.2.0298: Vim9 script: cannot start command with a string constant Problem: Vim9 script: cannot start command with a string constant. Solution: Recognize expression starting with '('.
author Bram Moolenaar <Bram@vim.org>
date Sat, 22 Feb 2020 18:45: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 =