view src/libvterm/t/65screen_protect.test @ 34051:f96f16107d61

runtime(sh): Update sh syntax and add local keyword for bash (#13806) Commit: https://github.com/vim/vim/commit/b16fc9805535dc6eb084142da0c87210fc102494 Author: Lucien Grondin <grondilu@yahoo.fr> Date: Mon Jan 1 19:00:41 2024 +0100 runtime(sh): Update sh syntax and add local keyword for bash (https://github.com/vim/vim/issues/13806) add `local` in shStatement Signed-off-by: Lucien Grondin <grondilu@yahoo.fr> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Mon, 01 Jan 2024 19:15:03 +0100
parents 2d2758ffd959
children
line wrap: on
line source

INIT
WANTSCREEN 

!Selective erase
RESET
PUSH "A\e[1\"qB\e[\"qC"
  ?screen_row 0 = "ABC"
PUSH "\e[G\e[?J"
  ?screen_row 0 = " B"

!Non-selective erase
RESET
PUSH "A\e[1\"qB\e[\"qC"
  ?screen_row 0 = "ABC"
PUSH "\e[G\e[J"
  ?screen_row 0 = ""