view src/libvterm/t/32state_flow.test @ 23891:650070143c56 v8.2.2488

patch 8.2.2488: json_encode() gives generic argument error Commit: https://github.com/vim/vim/commit/a853089479b60b829bab1c4a0a737a073415f8a7 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Feb 8 21:53:09 2021 +0100 patch 8.2.2488: json_encode() gives generic argument error Problem: json_encode() gives generic argument error. Solution: Mention the type that can't be encoded. (issue https://github.com/vim/vim/issues/7802)
author Bram Moolenaar <Bram@vim.org>
date Mon, 08 Feb 2021 22:00:03 +0100
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 =