view src/libvterm/t/27state_reset.test @ 26317:f44ce6a85c34 v8.2.3689

patch 8.2.3689: ex_let_one() is too long Commit: https://github.com/vim/vim/commit/3ccb5795168793e1b119a028da4035f77cef9f69 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Nov 28 19:53:42 2021 +0000 patch 8.2.3689: ex_let_one() is too long Problem: ex_let_one() is too long. Solution: Split into multiple functions.
author Bram Moolenaar <Bram@vim.org>
date Sun, 28 Nov 2021 21:00:03 +0100
parents b8299e742f41
children
line wrap: on
line source

INIT
WANTSTATE

RESET

!RIS homes cursor
PUSH "\e[5;5H"
  ?cursor = 4,4
WANTSTATE +m
PUSH "\ec"
  ?cursor = 0,0
WANTSTATE -m

!RIS cancels scrolling region
PUSH "\e[5;10r"
WANTSTATE +s
PUSH "\ec\e[25H\n"
  scrollrect 0..25,0..80 => +1,+0
WANTSTATE -s

!RIS erases screen
PUSH "ABCDE"
WANTSTATE +e
PUSH "\ec"
  erase 0..25,0..80
WANTSTATE -e

!RIS clears tabstops
PUSH "\e[5G\eH\e[G\t"
  ?cursor = 0,4
PUSH "\ec\t"
  ?cursor = 0,8