view src/libvterm/t/32state_flow.test @ 20482:dc88c690f19b v8.2.0795

patch 8.2.0795: libvterm code lags behind the upstream version Commit: https://github.com/vim/vim/commit/88d68de95da70d0f89a5246f58355d72e9c17db4 Author: Bram Moolenaar <Bram@vim.org> Date: Mon May 18 21:51:01 2020 +0200 patch 8.2.0795: libvterm code lags behind the upstream version Problem: Libvterm code lags behind the upstream version. Solution: Include revisions 748 - 754.
author Bram Moolenaar <Bram@vim.org>
date Mon, 18 May 2020 22:00:03 +0200
parents
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 =