view src/libvterm/t/32state_flow.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 dc88c690f19b
children
line wrap: on
line source

INIT
WANTSTATE

# Many of these test cases inspired by
#   https://blueprints.launchpad.net/libvterm/+spec/reflow-cases

!Spillover text marks continuation on second line
RESET
PUSH "A"x100
PUSH "\r\n"
  ?lineinfo 0 =
  ?lineinfo 1 = cont

!CRLF in column 80 does not mark continuation
RESET
PUSH "B"x80
PUSH "\r\n"
PUSH "B"x20
PUSH "\r\n"
  ?lineinfo 0 =
  ?lineinfo 1 =

!EL cancels continuation of following line
RESET
PUSH "D"x100
  ?lineinfo 1 = cont
PUSH "\eM\e[79G\e[K"
  ?lineinfo 1 =