Bram Moolenaar | 88d68de | 2020-05-18 21:51:01 +0200 | [diff] [blame] | 1 | INIT |
| 2 | WANTSTATE |
| 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 |
| 8 | RESET |
| 9 | PUSH "A"x100 |
| 10 | PUSH "\r\n" |
| 11 | ?lineinfo 0 = |
| 12 | ?lineinfo 1 = cont |
| 13 | |
| 14 | !CRLF in column 80 does not mark continuation |
| 15 | RESET |
| 16 | PUSH "B"x80 |
| 17 | PUSH "\r\n" |
| 18 | PUSH "B"x20 |
| 19 | PUSH "\r\n" |
| 20 | ?lineinfo 0 = |
| 21 | ?lineinfo 1 = |
| 22 | |
| 23 | !EL cancels continuation of following line |
| 24 | RESET |
| 25 | PUSH "D"x100 |
| 26 | ?lineinfo 1 = cont |
| 27 | PUSH "\eM\e[79G\e[K" |
| 28 | ?lineinfo 1 = |