blob: 84a13df18ba0c945a38447a19dd0a47c002ba54a [file] [log] [blame]
Bram Moolenaar88d68de2020-05-18 21:51:01 +02001INIT
2WANTSTATE
3
4# Many of these test cases inspired by
5# https://blueprints.launchpad.net/libvterm/+spec/reflow-cases
6
7!Spillover text marks continuation on second line
8RESET
9PUSH "A"x100
10PUSH "\r\n"
11 ?lineinfo 0 =
12 ?lineinfo 1 = cont
13
14!CRLF in column 80 does not mark continuation
15RESET
16PUSH "B"x80
17PUSH "\r\n"
18PUSH "B"x20
19PUSH "\r\n"
20 ?lineinfo 0 =
21 ?lineinfo 1 =
22
23!EL cancels continuation of following line
24RESET
25PUSH "D"x100
26 ?lineinfo 1 = cont
27PUSH "\eM\e[79G\e[K"
28 ?lineinfo 1 =