view src/libvterm/t/65screen_protect.test @ 32164:673dcbaded32 v9.0.1413

patch 9.0.1413: compiler warning for unused variable Commit: https://github.com/vim/vim/commit/2a003177eb3cee535bb8a384b4b87db13f0486ae Author: Bram Moolenaar <Bram@vim.org> Date: Fri Mar 17 18:50:48 2023 +0000 patch 9.0.1413: compiler warning for unused variable Problem: Compiler warning for unused variable. Solution: Move variable declaration. (John Marriott)
author Bram Moolenaar <Bram@vim.org>
date Fri, 17 Mar 2023 20:00:06 +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 = ""