view src/libvterm/t/18state_termprops.test @ 29247:5f314b2ed494 v8.2.5142

patch 8.2.5142: startup test fails if there is a status bar Commit: https://github.com/vim/vim/commit/fa04eae5a5b9394079bde2d37ce6f9f8a5567d48 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jun 21 14:38:40 2022 +0100 patch 8.2.5142: startup test fails if there is a status bar Problem: Startup test fails if there is a status bar at the top of the screen. (Ernie Rael) Solution: Use a larger vertical offset in the test.
author Bram Moolenaar <Bram@vim.org>
date Tue, 21 Jun 2022 18:45:07 +0200
parents 1d595fada804
children
line wrap: on
line source

INIT
WANTSTATE p

RESET
  settermprop 1 true
  settermprop 2 true
  settermprop 7 1

!Cursor visibility
PUSH "\e[?25h"
  settermprop 1 true
PUSH "\e[?25\$p"
  output "\e[?25;1\$y"
PUSH "\e[?25l"
  settermprop 1 false
PUSH "\e[?25\$p"
  output "\e[?25;2\$y"

!Cursor blink
PUSH "\e[?12h"
  settermprop 2 true
PUSH "\e[?12\$p"
  output "\e[?12;1\$y"
PUSH "\e[?12l"
  settermprop 2 false
PUSH "\e[?12\$p"
  output "\e[?12;2\$y"

!Cursor shape
PUSH "\e[3 q"
  settermprop 2 true
  settermprop 7 2

!Title
PUSH "\e]2;Here is my title\a"
  settermprop 4 ["Here is my title"]

!Title split write
PUSH "\e]2;Here is"
  settermprop 4 ["Here is"
PUSH " another title\a"
  settermprop 4 " another title"]