view src/libvterm/t/32state_flow.test @ 21134:0abcf69badda v8.2.1118

patch 8.2.1118: condition can never be true, dead code Commit: https://github.com/vim/vim/commit/810af5ea460eab820cc5899892067d8c242be688 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jul 2 21:23:42 2020 +0200 patch 8.2.1118: condition can never be true, dead code Problem: Condition can never be true, dead code. Solution: Remove the dead code.
author Bram Moolenaar <Bram@vim.org>
date Thu, 02 Jul 2020 21:30:04 +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 =