diff options
| author | Aram Drevekenin <aram@poor.dev> | 2021-05-03 19:11:31 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-03 19:11:31 +0200 |
| commit | 845211c1eebdbc6d063cf30de23135cff1582084 (patch) | |
| tree | f011f8bdcf4b3e1d67fa1487514f7df75a178d17 /src/tests | |
| parent | Merge pull request #437 from a-kenji/xrdb-loading-fix (diff) | |
| download | sl0ppij-845211c1eebdbc6d063cf30de23135cff1582084.tar.gz sl0ppij-845211c1eebdbc6d063cf30de23135cff1582084.tar.xz sl0ppij-845211c1eebdbc6d063cf30de23135cff1582084.zip | |
Terminal compatibility: Pass vttest 2 and 3 (#447)
* fix(compatibility): pass vttest 2+3
* style(fmt): rustfmt
* style(comment): remove unused
* docs(changelog): update change
Diffstat (limited to 'src/tests')
| -rw-r--r-- | src/tests/fixtures/vttest2-0 | 23 | ||||
| -rw-r--r-- | src/tests/fixtures/vttest2-1 | 24 | ||||
| -rw-r--r-- | src/tests/fixtures/vttest2-10 | 257 | ||||
| -rw-r--r-- | src/tests/fixtures/vttest2-11 | 257 | ||||
| -rw-r--r-- | src/tests/fixtures/vttest2-12 | 257 | ||||
| -rw-r--r-- | src/tests/fixtures/vttest2-13 | 257 | ||||
| -rw-r--r-- | src/tests/fixtures/vttest2-14 | 260 | ||||
| -rw-r--r-- | src/tests/fixtures/vttest2-2 | 24 | ||||
| -rw-r--r-- | src/tests/fixtures/vttest2-3 | 24 | ||||
| -rw-r--r-- | src/tests/fixtures/vttest2-4 | 24 | ||||
| -rw-r--r-- | src/tests/fixtures/vttest2-5 | 24 | ||||
| -rw-r--r-- | src/tests/fixtures/vttest2-6 | 82 | ||||
| -rw-r--r-- | src/tests/fixtures/vttest2-7 | 140 | ||||
| -rw-r--r-- | src/tests/fixtures/vttest2-8 | 198 | ||||
| -rw-r--r-- | src/tests/fixtures/vttest2-9 | 256 | ||||
| -rw-r--r-- | src/tests/fixtures/vttest3-0 | 20 |
16 files changed, 2127 insertions, 0 deletions
diff --git a/src/tests/fixtures/vttest2-0 b/src/tests/fixtures/vttest2-0 new file mode 100644 index 00000000..01fe8328 --- /dev/null +++ b/src/tests/fixtures/vttest2-0 @@ -0,0 +1,23 @@ +[2m⏎(B[m
⏎
[KWelcome to fish, the friendly interactive shell
+[?2004h]0;fish /home/aram/code/zellij[30m(B[m[97m[46m⋊>(B[m [33m~/c/zellij(B[m on [32mvttest-2(B[m ⨯ [K[44C[38;2;85;85;85m17:24:04(B[m
[72C
[28C
[28Cv[J[67C[38;2;85;85;85m17:24:04(B[m
[96C
[29C[91mv[67C[30m(B[m[38;2;85;85;85m17:24:04(B[m
[96C
[29C[38;2;85;85;85mttest[62C[30m(B[m[38;2;85;85;85m17:24:04(B[m
[96C
[29C[91mt[38;2;85;85;85mtest[62C[30m(B[m[38;2;85;85;85m17:24:04(B[m
[96C
[30C[91mt[38;2;85;85;85mest[62C[30m(B[m[38;2;85;85;85m17:24:04(B[m
[96C
[31C[91me[38;2;85;85;85mst[62C[30m(B[m[38;2;85;85;85m17:24:04(B[m
[96C
[32C[91ms[38;2;85;85;85mt[62C[30m(B[m[38;2;85;85;85m17:24:04(B[m
[96C
[33C[91mt[62C[30m(B[m[38;2;85;85;85m17:24:04(B[m
[96C
[34C[1mvttest[62C(B[m[38;2;85;85;85m17:24:04(B[m
[96C
[34C[62C[38;2;85;85;85m17:24:04(B[m
[96C
[34C
+[30m(B[m[?2004l]0;vttest /home/aram/code/zellij[30m(B[m
[0c[?1l[?3l[?4l[?5l[?6l[?7h[?8l[?40h[?45l[r[0m[2J[3;10HVT100 test program, version 2.7 (20210210)[4;10HLine speed 38400bd [5;10HChoose test type:
+[6;1H[0J
+ 0. Exit
+ 1. Test of cursor movements
+ 2. Test of screen features
+ 3. Test of character sets
+ 4. Test of double-sized characters
+ 5. Test of keyboard
+ 6. Test of terminal reports
+ 7. Test of VT52 mode
+ 8. Test of VT102 features (Insert/Delete Char/Line)
+ 9. Test of known bugs
+ 10. Test of reset and self-test
+ 11. Test non-VT100 (e.g., VT220, XTERM) terminals
+ 12. Modify test-parameters
+
+ Enter choice number (0 - 12): 2
+[2J[1;1H[?7h****************************************************************************************************************************************************************[?7l[3;1H****************************************************************************************************************************************************************[?7h[5;1HThis should be three identical lines of *'s completely filling
+the top of the screen without any empty lines between.
+(Test of WRAP AROUND mode setting.)
+Push <RETURN>
\ No newline at end of file diff --git a/src/tests/fixtures/vttest2-1 b/src/tests/fixtures/vttest2-1 new file mode 100644 index 00000000..eda5a6ae --- /dev/null +++ b/src/tests/fixtures/vttest2-1 @@ -0,0 +1,24 @@ +[2m⏎(B[m
⏎
[KWelcome to fish, the friendly interactive shell
+[?2004h]0;fish /home/aram/code/zellij[30m(B[m[97m[46m⋊>(B[m [33m~/c/zellij(B[m on [32mvttest-2(B[m ⨯ [K[44C[38;2;85;85;85m17:26:27(B[m
[72C
[28C
[28Cv[J[67C[38;2;85;85;85m17:26:27(B[m
[96C
[29C[91mv[67C[30m(B[m[38;2;85;85;85m17:26:27(B[m
[96C
[29C[38;2;85;85;85mttest[62C[30m(B[m[38;2;85;85;85m17:26:27(B[m
[96C
[29C[91mt[38;2;85;85;85mtest[62C[30m(B[m[38;2;85;85;85m17:26:27(B[m
[96C
[30C[91mt[38;2;85;85;85mest[62C[30m(B[m[38;2;85;85;85m17:26:27(B[m
[96C
[31C[91me[38;2;85;85;85mst[62C[30m(B[m[38;2;85;85;85m17:26:27(B[m
[96C
[32C[91ms[38;2;85;85;85mt[62C[30m(B[m[38;2;85;85;85m17:26:27(B[m
[96C
[33C[91mt[62C[30m(B[m[38;2;85;85;85m17:26:27(B[m
[96C
[34C[1mvttest[62C(B[m[38;2;85;85;85m17:26:27(B[m
[96C
[34C[62C[38;2;85;85;85m17:26:27(B[m
[96C
[34C
+[30m(B[m[?2004l]0;vttest /home/aram/code/zellij[30m(B[m
[0c[?1l[?3l[?4l[?5l[?6l[?7h[?8l[?40h[?45l[r[0m[2J[3;10HVT100 test program, version 2.7 (20210210)[4;10HLine speed 38400bd [5;10HChoose test type:
+[6;1H[0J
+ 0. Exit
+ 1. Test of cursor movements
+ 2. Test of screen features
+ 3. Test of character sets
+ 4. Test of double-sized characters
+ 5. Test of keyboard
+ 6. Test of terminal reports
+ 7. Test of VT52 mode
+ 8. Test of VT102 features (Insert/Delete Char/Line)
+ 9. Test of known bugs
+ 10. Test of reset and self-test
+ 11. Test non-VT100 (e.g., VT220, XTERM) terminals
+ 12. Modify test-parameters
+
+ Enter choice number (0 - 12): 2
+[2J[1;1H[?7h****************************************************************************************************************************************************************[?7l[3;1H****************************************************************************************************************************************************************[?7h[5;1HThis should be three identical lines of *'s completely filling
+the top of the screen without any empty lines between.
+(Test of WRAP AROUND mode setting.)
+Push <RETURN>[2J[3g[1;1H[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[1;4H[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[1;7H[1g[2g[1;1H * * * * * * * * * * * * *[2;2H * * * * * * * * * * * * *[4;1HTest of TAB setting/resetting. These two lines
+should look the same. Push <RETURN>
\ No newline at end of file diff --git a/src/tests/fixtures/vttest2-10 b/src/tests/fixtures/vttest2-10 new file mode 100644 index 00000000..3635a608 --- /dev/null +++ b/src/tests/fixtures/vttest2-10 @@ -0,0 +1,257 @@ +[2m⏎(B[m
⏎
[KWelcome to fish, the friendly interactive shell
+[?2004h]0;fish /home/aram/code/zellij[30m(B[m[97m[46m⋊>(B[m [33m~/c/zellij(B[m on [32mvttest-2(B[m ⨯ [K[44C[38;2;85;85;85m17:36:06(B[m
[72C
[28C
[28Cv[J[67C[38;2;85;85;85m17:36:06(B[m
[96C
[29C[91mv[67C[30m(B[m[38;2;85;85;85m17:36:06(B[m
[96C
[29C[38;2;85;85;85mttest[62C[30m(B[m[38;2;85;85;85m17:36:06(B[m
[96C
[29C[91mt[38;2;85;85;85mtest[62C[30m(B[m[38;2;85;85;85m17:36:06(B[m
[96C
[30C[91mt[38;2;85;85;85mest[62C[30m(B[m[38;2;85;85;85m17:36:06(B[m
[96C
[31C[91me[38;2;85;85;85mst[62C[30m(B[m[38;2;85;85;85m17:36:06(B[m
[96C
[32C[91ms[38;2;85;85;85mt[62C[30m(B[m[38;2;85;85;85m17:36:06(B[m
[96C
[33C[91mt[62C[30m(B[m[38;2;85;85;85m17:36:06(B[m
[96C
[34C[1mvttest[62C(B[m[38;2;85;85;85m17:36:06(B[m
[96C
[34C[62C[38;2;85;85;85m17:36:06(B[m
[96C
[34C
+[30m(B[m[?2004l]0;vttest /home/aram/code/zellij[30m(B[m
[0c[?1l[?3l[?4l[?5l[?6l[?7h[?8l[?40h[?45l[r[0m[2J[3;10HVT100 test program, version 2.7 (20210210)[4;10HLine speed 38400bd [5;10HChoose test type:
+[6;1H[0J
+ 0. Exit
+ 1. Test of cursor movements
+ 2. Test of screen features
+ 3. Test of character sets
+ 4. Test of double-sized characters
+ 5. Test of keyboard
+ 6. Test of terminal reports
+ 7. Test of VT52 mode
+ 8. Test of VT102 features (Insert/Delete Char/Line)
+ 9. Test of known bugs
+ 10. Test of reset and self-test
+ 11. Test non-VT100 (e.g., VT220, XTERM) terminals
+ 12. Modify test-parameters
+
+ Enter choice number (0 - 12): 2
+[2J[1;1H[?7h****************************************************************************************************************************************************************[?7l[3;1H****************************************************************************************************************************************************************[?7h[5;1HThis should be three identical lines of *'s completely filling
+the top of the screen without any empty lines between.
+(Test of WRAP AROUND mode setting.)
+Push <RETURN>[2J[3g[1;1H[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[1;4H[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[1;7H[1g[2g[1;1H * * * * * * * * * * * * *[2;2H * * * * * * * * * * * * *[4;1HTest of TAB setting/resetting. These two lines
+should look the same. Push <RETURN>[?5h[?3h[2J[1;1H[3g[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[1;1H12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901[3;3HThis is 132 column mode, light background.[4;4HThis is 132 column mode, light background.[5;5HThis is 132 column mode, light background.[6;6HThis is 132 column mode, light background.[7;7HThis is 132 column mode, light background.[8;8HThis is 132 column mode, light background.[9;9HThis is 132 column mode, light background.[10;10HThis is 132 column mode, light background.[11;11HThis is 132 column mode, light background.[12;12HThis is 132 column mode, light background.[13;13HThis is 132 column mode, light background.[14;14HThis is 132 column mode, light background.[15;15HThis is 132 column mode, light background.[16;16HThis is 132 column mode, light background.[17;17HThis is 132 column mode, light background.[18;18HThis is 132 column mode, light background.[19;19HThis is 132 column mode, light background.[20;20HThis is 132 column mode, light background.Push <RETURN>[?3l[2J[1;1H1234567890123456789012345678901234567890123456789012345678901234567890123456789[3;3HThis is 80 column mode, light background.[4;4HThis is 80 column mode, light background.[5;5HThis is 80 column mode, light background.[6;6HThis is 80 column mode, light background.[7;7HThis is 80 column mode, light background.[8;8HThis is 80 column mode, light background.[9;9HThis is 80 column mode, light background.[10;10HThis is 80 column mode, light background.[11;11HThis is 80 column mode, light background.[12;12HThis is 80 column mode, light background.[13;13HThis is 80 column mode, light background.[14;14HThis is 80 column mode, light background.[15;15HThis is 80 column mode, light background.[16;16HThis is 80 column mode, light background.[17;17HThis is 80 column mode, light background.[18;18HThis is 80 column mode, light background.[19;19HThis is 80 column mode, light background.[20;20HThis is 80 column mode, light background.Push <RETURN>[?5l[?3h[2J[1;1H[3g[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[1;1H12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901[3;3HThis is 132 column mode, dark background.[4;4HThis is 132 column mode, dark background.[5;5HThis is 132 column mode, dark background.[6;6HThis is 132 column mode, dark background.[7;7HThis is 132 column mode, dark background.[8;8HThis is 132 column mode, dark background.[9;9HThis is 132 column mode, dark background.[10;10HThis is 132 column mode, dark background.[11;11HThis is 132 column mode, dark background.[12;12HThis is 132 column mode, dark background.[13;13HThis is 132 column mode, dark background.[14;14HThis is 132 column mode, dark background.[15;15HThis is 132 column mode, dark background.[16;16HThis is 132 column mode, dark background.[17;17HThis is 132 column mode, dark background.[18;18HThis is 132 column mode, dark background.[19;19HThis is 132 column mode, dark background.[20;20HThis is 132 column mode, dark background.Push <RETURN>[?3l[2J[1;1H1234567890123456789012345678901234567890123456789012345678901234567890123456789[3;3HThis is 80 column mode, dark background.[4;4HThis is 80 column mode, dark background.[5;5HThis is 80 column mode, dark background.[6;6HThis is 80 column mode, dark background.[7;7HThis is 80 column mode, dark background.[8;8HThis is 80 column mode, dark background.[9;9HThis is 80 column mode, dark background.[10;10HThis is 80 column mode, dark background.[11;11HThis is 80 column mode, dark background.[12;12HThis is 80 column mode, dark background.[13;13HThis is 80 column mode, dark background.[14;14HThis is 80 column mode, dark background.[15;15HThis is 80 column mode, dark background.[16;16HThis is 80 column mode, dark background.[17;17HThis is 80 column mode, dark background.[18;18HThis is 80 column mode, dark background.[19;19HThis is 80 column mode, dark background.[20;20HThis is 80 column mode, dark background.Push <RETURN>[2J[?6h[?4h[12;13r[2J[24BSoft scroll up region [12..13] size 2 Line 1
+Soft scroll up region [12..13] size 2 Line 2
+Soft scroll up region [12..13] size 2 Line 3
+Soft scroll up region [12..13] size 2 Line 4
+Soft scroll up region [12..13] size 2 Line 5
+Soft scroll up region [12..13] size 2 Line 6
+Soft scroll up region [12..13] size 2 Line 7
+Soft scroll up region [12..13] size 2 Line 8
+Soft scroll up region [12..13] size 2 Line 9
+Soft scroll up region [12..13] size 2 Line 10
+Soft scroll up region [12..13] size 2 Line 11
+Soft scroll up region [12..13] size 2 Line 12
+Soft scroll up region [12..13] size 2 Line 13
+Soft scroll up region [12..13] size 2 Line 14
+Soft scroll up region [12..13] size 2 Line 15
+Soft scroll up region [12..13] size 2 Line 16
+Soft scroll up region [12..13] size 2 Line 17
+Soft scroll up region [12..13] size 2 Line 18
+Soft scroll up region [12..13] size 2 Line 19
+Soft scroll up region [12..13] size 2 Line 20
+Soft scroll up region [12..13] size 2 Line 21
+Soft scroll up region [12..13] size 2 Line 22
+Soft scroll up region [12..13] size 2 Line 23
+Soft scroll up region [12..13] size 2 Line 24
+Soft scroll up region [12..13] size 2 Line 25
+Soft scroll up region [12..13] size 2 Line 26
+Soft scroll up region [12..13] size 2 Line 27
+Soft scroll up region [12..13] size 2 Line 28
+Soft scroll up region [12..13] size 2 Line 29
+[24ASoft scroll down region [12..13] size 2 Line 1
+MMSoft scroll down region [12..13] size 2 Line 2
+MMSoft scroll down region [12..13] size 2 Line 3
+MMSoft scroll down region [12..13] size 2 Line 4
+MMSoft scroll down region [12..13] size 2 Line 5
+MMSoft scroll down region [12..13] size 2 Line 6
+MMSoft scroll down region [12..13] size 2 Line 7
+MMSoft scroll down region [12..13] size 2 Line 8
+MMSoft scroll down region [12..13] size 2 Line 9
+MMSoft scroll down region [12..13] size 2 Line 10
+MMSoft scroll down region [12..13] size 2 Line 11
+MMSoft scroll down region [12..13] size 2 Line 12
+MMSoft scroll down region [12..13] size 2 Line 13
+MMSoft scroll down region [12..13] size 2 Line 14
+MMSoft scroll down region [12..13] size 2 Line 15
+MMSoft scroll down region [12..13] size 2 Line 16
+MMSoft scroll down region [12..13] size 2 Line 17
+MMSoft scroll down region [12..13] size 2 Line 18
+MMSoft scroll down region [12..13] size 2 Line 19
+MMSoft scroll down region [12..13] size 2 Line 20
+MMSoft scroll down region [12..13] size 2 Line 21
+MMSoft scroll down region [12..13] size 2 Line 22
+MMSoft scroll down region [12..13] size 2 Line 23
+MMSoft scroll down region [12..13] size 2 Line 24
+MMSoft scroll down region [12..13] size 2 Line 25
+MMSoft scroll down region [12..13] size 2 Line 26
+MMSoft scroll down region [12..13] size 2 Line 27
+MMSoft scroll down region [12..13] size 2 Line 28
+MMSoft scroll down region [12..13] size 2 Line 29
+MMPush <RETURN>[1;24r[2J[24BSoft scroll up region [1..24] size 24 Line 1
+Soft scroll up region [1..24] size 24 Line 2
+Soft scroll up region [1..24] size 24 Line 3
+Soft scroll up region [1..24] size 24 Line 4
+Soft scroll up region [1..24] size 24 Line 5
+Soft scroll up region [1..24] size 24 Line 6
+Soft scroll up region [1..24] size 24 Line 7
+Soft scroll up region [1..24] size 24 Line 8
+Soft scroll up region [1..24] size 24 Line 9
+Soft scroll up region [1..24] size 24 Line 10
+Soft scroll up region [1..24] size 24 Line 11
+Soft scroll up region [1..24] size 24 Line 12
+Soft scroll up region [1..24] size 24 Line 13
+Soft scroll up region [1..24] size 24 Line 14
+Soft scroll up region [1..24] size 24 Line 15
+Soft scroll up region [1..24] size 24 Line 16
+Soft scroll up region [1..24] size 24 Line 17
+Soft scroll up region [1..24] size 24 Line 18
+Soft scroll up region [1..24] size 24 Line 19
+Soft scroll up region [1..24] size 24 Line 20
+Soft scroll up region [1..24] size 24 Line 21
+Soft scroll up region [1..24] size 24 Line 22
+Soft scroll up region [1..24] size 24 Line 23
+Soft scroll up region [1..24] size 24 Line 24
+Soft scroll up region [1..24] size 24 Line 25
+Soft scroll up region [1..24] size 24 Line 26
+Soft scroll up region [1..24] size 24 Line 27
+Soft scroll up region [1..24] size 24 Line 28
+Soft scroll up region [1..24] size 24 Line 29
+[24ASoft scroll down region [1..24] size 24 Line 1
+MMSoft scroll down region [1..24] size 24 Line 2
+MMSoft scroll down region [1..24] size 24 Line 3
+MMSoft scroll down region [1..24] size 24 Line 4
+MMSoft scroll down region [1..24] size 24 Line 5
+MMSoft scroll down region [1..24] size 24 Line 6
+MMSoft scroll down region [1..24] size 24 Line 7
+MMSoft scroll down region [1..24] size 24 Line 8
+MMSoft scroll down region [1..24] size 24 Line 9
+MMSoft scroll down region [1..24] size 24 Line 10
+MMSoft scroll down region [1..24] size 24 Line 11
+MMSoft scroll down region [1..24] size 24 Line 12
+MMSoft scroll down region [1..24] size 24 Line 13
+MMSoft scroll down region [1..24] size 24 Line 14
+MMSoft scroll down region [1..24] size 24 Line 15
+MMSoft scroll down region [1..24] size 24 Line 16
+MMSoft scroll down region [1..24] size 24 Line 17
+MMSoft scroll down region [1..24] size 24 Line 18
+MMSoft scroll down region [1..24] size 24 Line 19
+MMSoft scroll down region [1..24] size 24 Line 20
+MMSoft scroll down region [1..24] size 24 Line 21
+MMSoft scroll down region [1..24] size 24 Line 22
+MMSoft scroll down region [1..24] size 24 Line 23
+MMSoft scroll down region [1..24] size 24 Line 24
+MMSoft scroll down region [1..24] size 24 Line 25
+MMSoft scroll down region [1..24] size 24 Line 26
+MMSoft scroll down region [1..24] size 24 Line 27
+MMSoft scroll down region [1..24] size 24 Line 28
+MMSoft scroll down region [1..24] size 24 Line 29
+MMPush <RETURN>[?4l[12;13r[2J[24BJump scroll up region [12..13] size 2 Line 1
+Jump scroll up region [12..13] size 2 Line 2
+Jump scroll up region [12..13] size 2 Line 3
+Jump scroll up region [12..13] size 2 Line 4
+Jump scroll up region [12..13] size 2 Line 5
+Jump scroll up region [12..13] size 2 Line 6
+Jump scroll up region [12..13] size 2 Line 7
+Jump scroll up region [12..13] size 2 Line 8
+Jump scroll up region [12..13] size 2 Line 9
+Jump scroll up region [12..13] size 2 Line 10
+Jump scroll up region [12..13] size 2 Line 11
+Jump scroll up region [12..13] size 2 Line 12
+Jump scroll up region [12..13] size 2 Line 13
+Jump scroll up region [12..13] size 2 Line 14
+Jump scroll up region [12..13] size 2 Line 15
+Jump scroll up region [12..13] size 2 Line 16
+Jump scroll up region [12..13] size 2 Line 17
+Jump scroll up region [12..13] size 2 Line 18
+Jump scroll up region [12..13] size 2 Line 19
+Jump scroll up region [12..13] size 2 Line 20
+Jump scroll up region [12..13] size 2 Line 21
+Jump scroll up region [12..13] size 2 Line 22
+Jump scroll up region [12..13] size 2 Line 23
+Jump scroll up region [12..13] size 2 Line 24
+Jump scroll up region [12..13] size 2 Line 25
+Jump scroll up region [12..13] size 2 Line 26
+Jump scroll up region [12..13] size 2 Line 27
+Jump scroll up region [12..13] size 2 Line 28
+Jump scroll up region [12..13] size 2 Line 29
+[24AJump scroll down region [12..13] size 2 Line 1
+MMJump scroll down region [12..13] size 2 Line 2
+MMJump scroll down region [12..13] size 2 Line 3
+MMJump scroll down region [12..13] size 2 Line 4
+MMJump scroll down region [12..13] size 2 Line 5
+MMJump scroll down region [12..13] size 2 Line 6
+MMJump scroll down region [12..13] size 2 Line 7
+MMJump scroll down region [12..13] size 2 Line 8
+MMJump scroll down region [12..13] size 2 Line 9
+MMJump scroll down region [12..13] size 2 Line 10
+MMJump scroll down region [12..13] size 2 Line 11
+MMJump scroll down region [12..13] size 2 Line 12
+MMJump scroll down region [12..13] size 2 Line 13
+MMJump scroll down region [12..13] size 2 Line 14
+MMJump scroll down region [12..13] size 2 Line 15
+MMJump scroll down region [12..13] size 2 Line 16
+MMJump scroll down region [12..13] size 2 Line 17
+MMJump scroll down region [12..13] size 2 Line 18
+MMJump scroll down region [12..13] size 2 Line 19
+MMJump scroll down region [12..13] size 2 Line 20
+MMJump scroll down region [12..13] size 2 Line 21
+MMJump scroll down region [12..13] size 2 Line 22
+MMJump scroll down region [12..13] size 2 Line 23
+MMJump scroll down region [12..13] size 2 Line 24
+MMJump scroll down region [12..13] size 2 Line 25
+MMJump scroll down region [12..13] size 2 Line 26
+MMJump scroll down region [12..13] size 2 Line 27
+MMJump scroll down region [12..13] size 2 Line 28
+MMJump scroll down region [12..13] size 2 Line 29
+MMPush <RETURN>[1;24r[2J[24BJump scroll up region [1..24] size 24 Line 1
+Jump scroll up region [1..24] size 24 Line 2
+Jump scroll up region [1..24] size 24 Line 3
+Jump scroll up region [1..24] size 24 Line 4
+Jump scroll up region [1..24] size 24 Line 5
+Jump scroll up region [1..24] size 24 Line 6
+Jump scroll up region [1..24] size 24 Line 7
+Jump scroll up region [1..24] size 24 Line 8
+Jump scroll up region [1..24] size 24 Line 9
+Jump scroll up region [1..24] size 24 Line 10
+Jump scroll up region [1..24] size 24 Line 11
+Jump scroll up region [1..24] size 24 Line 12
+Jump scroll up region [1..24] size 24 Line 13
+Jump scroll up region [1..24] size 24 Line 14
+Jump scroll up region [1..24] size 24 Line 15
+Jump scroll up region [1..24] size 24 Line 16
+Jump scroll up region [1..24] size 24 Line 17
+Jump scroll up region [1..24] size 24 Line 18
+Jump scroll up region [1..24] size 24 Line 19
+Jump scroll up region [1..24] size 24 Line 20
+Jump scroll up region [1..24] size 24 Line 21
+Jump scroll up region [1..24] size 24 Line 22
+Jump scroll up region [1..24] size 24 Line 23
+Jump scroll up region [1..24] size 24 Line 24
+Jump scroll up region [1..24] size 24 Line 25
+Jump scroll up region [1..24] size 24 Line 26
+Jump scroll up region [1..24] size 24 Line 27
+Jump scroll up region [1..24] size 24 Line 28
+Jump scroll up region [1..24] size 24 Line 29
+[24AJump scroll down region [1..24] size 24 Line 1
+MMJump scroll down region [1..24] size 24 Line 2
+MMJump scroll down region [1..24] size 24 Line 3
+MMJump scroll down region [1..24] size 24 Line 4
+MMJump scroll down region [1..24] size 24 Line 5
+MMJump scroll down region [1..24] size 24 Line 6
+MMJump scroll down region [1..24] size 24 Line 7
+MMJump scroll down region [1..24] size 24 Line 8
+MMJump scroll down region [1..24] size 24 Line 9
+MMJump scroll down region [1..24] size 24 Line 10
+MMJump scroll down region [1..24] size 24 Line 11
+MMJump scroll down region [1..24] size 24 Line 12
+MMJump scroll down region [1..24] size 24 Line 13
+MMJump scroll down region [1..24] size 24 Line 14
+MMJump scroll down region [1..24] size 24 Line 15
+MMJump scroll down region [1..24] size 24 Line 16
+MMJump scroll down region [1..24] size 24 Line 17
+MMJump scroll down region [1..24] size 24 Line 18
+MMJump scroll down region [1..24] size 24 Line 19
+MMJump scroll down region [1..24] size 24 Line 20
+MMJump scroll down region [1..24] size 24 Line 21
+MMJump scroll down region [1..24] size 24 Line 22
+MMJump scroll down region [1..24] size 24 Line 23
+MMJump scroll down region [1..24] size 24 Line 24
+MMJump scroll down region [1..24] size 24 Line 25
+MMJump scroll down region [1..24] size 24 Line 26
+MMJump scroll down region [1..24] size 24 Line 27
+MMJump scroll down region [1..24] size 24 Line 28
+MMJump scroll down region [1..24] size 24 Line 29
+MMPush <RETURN>[2J[23;24r
+Origin mode test. This line should be at the bottom of the screen.[1;1HThis line should be the one above the bottom of the screen. Push <RETURN>
\ No newline at end of file diff --git a/src/tests/fixtures/vttest2-11 b/src/tests/fixtures/vttest2-11 new file mode 100644 index 00000000..16e9b56f --- /dev/null +++ b/src/tests/fixtures/vttest2-11 @@ -0,0 +1,257 @@ +[2m⏎(B[m
⏎
[KWelcome to fish, the friendly interactive shell
+[?2004h]0;fish /home/aram/code/zellij[30m(B[m[97m[46m⋊>(B[m [33m~/c/zellij(B[m on [32mvttest-2(B[m ⨯ [K[44C[38;2;85;85;85m17:37:22(B[m
[72C
[28C
[28Cv[J[67C[38;2;85;85;85m17:37:22(B[m
[96C
[29C[91mv[67C[30m(B[m[38;2;85;85;85m17:37:22(B[m
[96C
[29C[38;2;85;85;85mttest[62C[30m(B[m[38;2;85;85;85m17:37:22(B[m
[96C
[29C[91mt[38;2;85;85;85mtest[62C[30m(B[m[38;2;85;85;85m17:37:22(B[m
[96C
[30C[91mt[38;2;85;85;85mest[62C[30m(B[m[38;2;85;85;85m17:37:22(B[m
[96C
[31C[91me[38;2;85;85;85mst[62C[30m(B[m[38;2;85;85;85m17:37:22(B[m
[96C
[32C[91ms[38;2;85;85;85mt[62C[30m(B[m[38;2;85;85;85m17:37:22(B[m
[96C
[33C[91mt[62C[30m(B[m[38;2;85;85;85m17:37:22(B[m
[96C
[34C[1mvttest[62C(B[m[38;2;85;85;85m17:37:22(B[m
[96C
[34C[62C[38;2;85;85;85m17:37:22(B[m
[96C
[34C
+[30m(B[m[?2004l]0;vttest /home/aram/code/zellij[30m(B[m
[0c[?1l[?3l[?4l[?5l[?6l[?7h[?8l[?40h[?45l[r[0m[2J[3;10HVT100 test program, version 2.7 (20210210)[4;10HLine speed 38400bd [5;10HChoose test type:
+[6;1H[0J
+ 0. Exit
+ 1. Test of cursor movements
+ 2. Test of screen features
+ 3. Test of character sets
+ 4. Test of double-sized characters
+ 5. Test of keyboard
+ 6. Test of terminal reports
+ 7. Test of VT52 mode
+ 8. Test of VT102 features (Insert/Delete Char/Line)
+ 9. Test of known bugs
+ 10. Test of reset and self-test
+ 11. Test non-VT100 (e.g., VT220, XTERM) terminals
+ 12. Modify test-parameters
+
+ Enter choice number (0 - 12): 2
+[2J[1;1H[?7h****************************************************************************************************************************************************************[?7l[3;1H****************************************************************************************************************************************************************[?7h[5;1HThis should be three identical lines of *'s completely filling
+the top of the screen without any empty lines between.
+(Test of WRAP AROUND mode setting.)
+Push <RETURN>[2J[3g[1;1H[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[1;4H[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[1;7H[1g[2g[1;1H * * * * * * * * * * * * *[2;2H * * * * * * * * * * * * *[4;1HTest of TAB setting/resetting. These two lines
+should look the same. Push <RETURN>[?5h[?3h[2J[1;1H[3g[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[1;1H12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901[3;3HThis is 132 column mode, light background.[4;4HThis is 132 column mode, light background.[5;5HThis is 132 column mode, light background.[6;6HThis is 132 column mode, light background.[7;7HThis is 132 column mode, light background.[8;8HThis is 132 column mode, light background.[9;9HThis is 132 column mode, light background.[10;10HThis is 132 column mode, light background.[11;11HThis is 132 column mode, light background.[12;12HThis is 132 column mode, light background.[13;13HThis is 132 column mode, light background.[14;14HThis is 132 column mode, light background.[15;15HThis is 132 column mode, light background.[16;16HThis is 132 column mode, light background.[17;17HThis is 132 column mode, light background.[18;18HThis is 132 column mode, light background.[19;19HThis is 132 column mode, light background.[20;20HThis is 132 column mode, light background.Push <RETURN>[?3l[2J[1;1H1234567890123456789012345678901234567890123456789012345678901234567890123456789[3;3HThis is 80 column mode, light background.[4;4HThis is 80 column mode, light background.[5;5HThis is 80 column mode, light background.[6;6HThis is 80 column mode, light background.[7;7HThis is 80 column mode, light background.[8;8HThis is 80 column mode, light background.[9;9HThis is 80 column mode, light background.[10;10HThis is 80 column mode, light background.[11;11HThis is 80 column mode, light background.[12;12HThis is 80 column mode, light background.[13;13HThis is 80 column mode, light background.[14;14HThis is 80 column mode, light background.[15;15HThis is 80 column mode, light background.[16;16HThis is 80 column mode, light background.[17;17HThis is 80 column mode, light background.[18;18HThis is 80 column mode, light background.[19;19HThis is 80 column mode, light background.[20;20HThis is 80 column mode, light background.Push <RETURN>[?5l[?3h[2J[1;1H[3g[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[1;1H12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901[3;3HThis is 132 column mode, dark background.[4;4HThis is 132 column mode, dark background.[5;5HThis is 132 column mode, dark background.[6;6HThis is 132 column mode, dark background.[7;7HThis is 132 column mode, dark background.[8;8HThis is 132 column mode, dark background.[9;9HThis is 132 column mode, dark background.[10;10HThis is 132 column mode, dark background.[11;11HThis is 132 column mode, dark background.[12;12HThis is 132 column mode, dark background.[13;13HThis is 132 column mode, dark background.[14;14HThis is 132 column mode, dark background.[15;15HThis is 132 column mode, dark background.[16;16HThis is 132 column mode, dark background.[17;17HThis is 132 column mode, dark background.[18;18HThis is 132 column mode, dark background.[19;19HThis is 132 column mode, dark background.[20;20HThis is 132 column mode, dark background.Push <RETURN>[?3l[2J[1;1H1234567890123456789012345678901234567890123456789012345678901234567890123456789[3;3HThis is 80 column mode, dark background.[4;4HThis is 80 column mode, dark background.[5;5HThis is 80 column mode, dark background.[6;6HThis is 80 column mode, dark background.[7;7HThis is 80 column mode, dark background.[8;8HThis is 80 column mode, dark background.[9;9HThis is 80 column mode, dark background.[10;10HThis is 80 column mode, dark background.[11;11HThis is 80 column mode, dark background.[12;12HThis is 80 column mode, dark background.[13;13HThis is 80 column mode, dark background.[14;14HThis is 80 column mode, dark background.[15;15HThis is 80 column mode, dark background.[16;16HThis is 80 column mode, dark background.[17;17HThis is 80 column mode, dark background.[18;18HThis is 80 column mode, dark background.[19;19HThis is 80 column mode, dark background.[20;20HThis is 80 column mode, dark background.Push <RETURN>[2J[?6h[?4h[12;13r[2J[24BSoft scroll up region [12..13] size 2 Line 1
+Soft scroll up region [12..13] size 2 Line 2
+Soft scroll up region [12..13] size 2 Line 3
+Soft scroll up region [12..13] size 2 Line 4
+Soft scroll up region [12..13] size 2 Line 5
+Soft scroll up region [12..13] size 2 Line 6
+Soft scroll up region [12..13] size 2 Line 7
+Soft scroll up region [12..13] size 2 Line 8
+Soft scroll up region [12..13] size 2 Line 9
+Soft scroll up region [12..13] size 2 Line 10
+Soft scroll up region [12..13] size 2 Line 11
+Soft scroll up region [12..13] size 2 Line 12
+Soft scroll up region [12..13] size 2 Line 13
+Soft scroll up region [12..13] size 2 Line 14
+Soft scroll up region [12..13] size 2 Line 15
+Soft scroll up region [12..13] size 2 Line 16
+Soft scroll up region [12..13] size 2 Line 17
+Soft scroll up region [12..13] size 2 Line 18
+Soft scroll up region [12..13] size 2 Line 19
+Soft scroll up region [12..13] size 2 Line 20
+Soft scroll up region [12..13] size 2 Line 21
+Soft scroll up region [12..13] size 2 Line 22
+Soft scroll up region [12..13] size 2 Line 23
+Soft scroll up region [12..13] size 2 Line 24
+Soft scroll up region [12..13] size 2 Line 25
+Soft scroll up region [12..13] size 2 Line 26
+Soft scroll up region [12..13] size 2 Line 27
+Soft scroll up region [12..13] size 2 Line 28
+Soft scroll up region [12..13] size 2 Line 29
+[24ASoft scroll down region [12..13] size 2 Line 1
+MMSoft scroll down region [12..13] size 2 Line 2
+MMSoft scroll down region [12..13] size 2 Line 3
+MMSoft scroll down region [12..13] size 2 Line 4
+MMSoft scroll down region [12..13] size 2 Line 5
+MMSoft scroll down region [12..13] size 2 Line 6
+MMSoft scroll down region [12..13] size 2 Line 7
+MMSoft scroll down region [12..13] size 2 Line 8
+MMSoft scroll down region [12..13] size 2 Line 9
+MMSoft scroll down region [12..13] size 2 Line 10
+MMSoft scroll down region [12..13] size 2 Line 11
+MMSoft scroll down region [12..13] size 2 Line 12
+MMSoft scroll down region [12..13] size 2 Line 13
+MMSoft scroll down region [12..13] size 2 Line 14
+MMSoft scroll down region [12..13] size 2 Line 15
+MMSoft scroll down region [12..13] size 2 Line 16
+MMSoft scroll down region [12..13] size 2 Line 17
+MMSoft scroll down region [12..13] size 2 Line 18
+MMSoft scroll down region [12..13] size 2 Line 19
+MMSoft scroll down region [12..13] size 2 Line 20
+MMSoft scroll down region [12..13] size 2 Line 21
+MMSoft scroll down region [12..13] size 2 Line 22
+MMSoft scroll down region [12..13] size 2 Line 23
+MMSoft scroll down region [12..13] size 2 Line 24
+MMSoft scroll down region [12..13] size 2 Line 25
+MMSoft scroll down region [12..13] size 2 Line 26
+MMSoft scroll down region [12..13] size 2 Line 27
+MMSoft scroll down region [12..13] size 2 Line 28
+MMSoft scroll down region [12..13] size 2 Line 29
+MMPush <RETURN>[1;24r[2J[24BSoft scroll up region [1..24] size 24 Line 1
+Soft scroll up region [1..24] size 24 Line 2
+Soft scroll up region [1..24] size 24 Line 3
+Soft scroll up region [1..24] size 24 Line 4
+Soft scroll up region [1..24] size 24 Line 5
+Soft scroll up region [1..24] size 24 Line 6
+Soft scroll up region [1..24] size 24 Line 7
+Soft scroll up region [1..24] size 24 Line 8
+Soft scroll up region [1..24] size 24 Line 9
+Soft scroll up region [1..24] size 24 Line 10
+Soft scroll up region [1..24] size 24 Line 11
+Soft scroll up region [1..24] size 24 Line 12
+Soft scroll up region [1..24] size 24 Line 13
+Soft scroll up region [1..24] size 24 Line 14
+Soft scroll up region [1..24] size 24 Line 15
+Soft scroll up region [1..24] size 24 Line 16
+Soft scroll up region [1..24] size 24 Line 17
+Soft scroll up region [1..24] size 24 Line 18
+Soft scroll up region [1..24] size 24 Line 19
+Soft scroll up region [1..24] size 24 Line 20
+Soft scroll up region [1..24] size 24 Line 21
+Soft scroll up region [1..24] size 24 Line 22
+Soft scroll up region [1..24] size 24 Line 23
+Soft scroll up region [1..24] size 24 Line 24
+Soft scroll up region [1..24] size 24 Line 25
+Soft scroll up region [1..24] size 24 Line 26
+Soft scroll up region [1..24] size 24 Line 27
+Soft scroll up region [1..24] size 24 Line 28
+Soft scroll up region [1..24] size 24 Line 29
+[24ASoft scroll down region [1..24] size 24 Line 1
+MMSoft scroll down region [1..24] size 24 Line 2
+MMSoft scroll down region [1..24] size 24 Line 3
+MMSoft scroll down region [1..24] size 24 Line 4
+MMSoft scroll down region [1..24] size 24 Line 5
+MMSoft scroll down region [1..24] size 24 Line 6
+MMSoft scroll down region [1..24] size 24 Line 7
+MMSoft scroll down region [1..24] size 24 Line 8
+MMSoft scroll down region [1..24] size 24 Line 9
+MMSoft scroll down region [1..24] size 24 Line 10
+MMSoft scroll down region [1..24] size 24 Line 11
+MMSoft scroll down region [1..24] size 24 Line 12
+MMSoft scroll down region [1..24] size 24 Line 13
+MMSoft scroll down region [1..24] size 24 Line 14
+MMSoft scroll down region [1..24] size 24 Line 15
+MMSoft scroll down region [1..24] size 24 Line 16
+MMSoft scroll down region [1..24] size 24 Line 17
+MMSoft scroll down region [1..24] size 24 Line 18
+MMSoft scroll down region [1..24] size 24 Line 19
+MMSoft scroll down region [1..24] size 24 Line 20
+MMSoft scroll down region [1..24] size 24 Line 21
+MMSoft scroll down region [1..24] size 24 Line 22
+MMSoft scroll down region [1..24] size 24 Line 23
+MMSoft scroll down region [1..24] size 24 Line 24
+MMSoft scroll down region [1..24] size 24 Line 25
+MMSoft scroll down region [1..24] size 24 Line 26
+MMSoft scroll down region [1..24] size 24 Line 27
+MMSoft scroll down region [1..24] size 24 Line 28
+MMSoft scroll down region [1..24] size 24 Line 29
+MMPush <RETURN>[?4l[12;13r[2J[24BJump scroll up region [12..13] size 2 Line 1
+Jump scroll up region [12..13] size 2 Line 2
+Jump scroll up region [12..13] size 2 Line 3
+Jump scroll up region [12..13] size 2 Line 4
+Jump scroll up region [12..13] size 2 Line 5
+Jump scroll up region [12..13] size 2 Line 6
+Jump scroll up region [12..13] size 2 Line 7
+Jump scroll up region [12..13] size 2 Line 8
+Jump scroll up region [12..13] size 2 Line 9
+Jump scroll up region [12..13] size 2 Line 10
+Jump scroll up region [12..13] size 2 Line 11
+Jump scroll up region [12..13] size 2 Line 12
+Jump scroll up region [12..13] size 2 Line 13
+Jump scroll up region [12..13] size 2 Line 14
+Jump scroll up region [12..13] size 2 Line 15
+Jump scroll up region [12..13] size 2 Line 16
+Jump scroll up region [12..13] size 2 Line 17
+Jump scroll up region [12..13] size 2 Line 18
+Jump scroll up region [12..13] size 2 Line 19
+Jump scroll up region [12..13] size 2 Line 20
+Jump scroll up region [12..13] size 2 Line 21
+Jump scroll up region [12..13] size 2 Line 22
+Jump scroll up region [12..13] size 2 Line 23
+Jump scroll up region [12..13] size 2 Line 24
+Jump scroll up region [12..13] size 2 Line 25
+Jump scroll up region [12..13] size 2 Line 26
+Jump scroll up region [12..13] size 2 Line 27
+Jump scroll up region [12..13] size 2 Line 28
+Jump scroll up region [12..13] size 2 Line 29
+[24AJump scroll down region [12..13] size 2 Line 1
+MMJump scroll down region [12..13] size 2 Line 2
+MMJump scroll down region [12..13] size 2 Line 3
+MMJump scroll down region [12..13] size 2 Line 4
+MMJump scroll down region [12..13] size 2 Line 5
+MMJump scroll down region [12..13] size 2 Line 6
+MMJump scroll down region [12..13] size 2 Line 7
+MMJump scroll down region [12..13] size 2 Line 8
+MMJump scroll down region [12..13] size 2 Line 9
+MMJump scroll down region [12..13] size 2 Line 10
+MMJump scroll down region [12..13] size 2 Line 11
+MMJump scroll down region [12..13] size 2 Line 12
+MMJump scroll down region [12..13] size 2 Line 13
+MMJump scroll down region [12..13] size 2 Line 14
+MMJump scroll down region [12..13] size 2 Line 15
+MMJump scroll down region [12..13] size 2 Line 16
+MMJump scroll down region [12..13] size 2 Line 17
+MMJump scroll down region [12..13] size 2 Line 18
+MMJump scroll down region [12..13] size 2 Line 19
+MMJump scroll down region [12..13] size 2 Line 20
+MMJump scroll down region [12..13] size 2 Line 21
+MMJump scroll down region [12..13] size 2 Line 22
+MMJump scroll down region [12..13] size 2 Line 23
+MMJump scroll down region [12..13] size 2 Line 24
+MMJump scroll down region [12..13] size 2 Line 25
+MMJump scroll down region [12..13] size 2 Line 26
+MMJump scroll down region [12..13] size 2 Line 27
+MMJump scroll down region [12..13] size 2 Line 28
+MMJump scroll down region [12..13] size 2 Line 29
+MMPush <RETURN>[1;24r[2J[24BJump scroll up region [1..24] size 24 Line 1
+Jump scroll up region [1..24] size 24 Line 2
+Jump scroll up region [1..24] size 24 Line 3
+Jump scroll up region [1..24] size 24 Line 4
+Jump scroll up region [1..24] size 24 Line 5
+Jump scroll up region [1..24] size 24 Line 6
+Jump scroll up region [1..24] size 24 Line 7
+Jump scroll up region [1..24] size 24 Line 8
+Jump scroll up region [1..24] size 24 Line 9
+Jump scroll up region [1..24] size 24 Line 10
+Jump scroll up region [1..24] size 24 Line 11
+Jump scroll up region [1..24] size 24 Line 12
+Jump scroll up region [1..24] size 24 Line 13
+Jump scroll up region [1..24] size 24 Line 14
+Jump scroll up region [1..24] size 24 Line 15
+Jump scroll up region [1..24] size 24 Line 16
+Jump scroll up region [1..24] size 24 Line 17
+Jump scroll up region [1..24] size 24 Line 18
+Jump scroll up region [1..24] size 24 Line 19
+Jump scroll up region [1..24] size 24 Line 20
+Jump scroll up region [1..24] size 24 Line 21
+Jump scroll up region [1..24] size 24 Line 22
+Jump scroll up region [1..24] size 24 Line 23
+Jump scroll up region [1..24] size 24 Line 24
+Jump scroll up region [1..24] size 24 Line 25
+Jump scroll up region [1..24] size 24 Line 26
+Jump scroll up region [1..24] size 24 Line 27
+Jump scroll up region [1..24] size 24 Line 28
+Jump scroll up region [1..24] size 24 Line 29
+[24AJump scroll down region [1..24] size 24 Line 1
+MMJump scroll down region [1..24] size 24 Line 2
+MMJump scroll down region [1..24] size 24 Line 3
+MMJump scroll down region [1..24] size 24 Line 4
+MMJump scroll down region [1..24] size 24 Line 5
+MMJump scroll down region [1..24] size 24 Line 6
+MMJump scroll down region [1..24] size 24 Line 7
+MMJump scroll down region [1..24] size 24 Line 8
+MMJump scroll down region [1..24] size 24 Line 9
+MMJump scroll down region [1..24] size 24 Line 10
+MMJump scroll down region [1..24] size 24 Line 11
+MMJump scroll down region [1..24] size 24 Line 12
+MMJump scroll down region [1..24] size 24 Line 13
+MMJump scroll down region [1..24] size 24 Line 14
+MMJump scroll down region [1..24] size 24 Line 15
+MMJump scroll down region [1..24] size 24 Line 16
+MMJump scroll down region [1..24] size 24 Line 17
+MMJump scroll down region [1..24] size 24 Line 18
+MMJump scroll down region [1..24] size 24 Line 19
+MMJump scroll down region [1..24] size 24 Line 20
+MMJump scroll down region [1..24] size 24 Line 21
+MMJump scroll down region [1..24] size 24 Line 22
+MMJump scroll down region [1..24] size 24 Line 23
+MMJump scroll down region [1..24] size 24 Line 24
+MMJump scroll down region [1..24] size 24 Line 25
+MMJump scroll down region [1..24] size 24 Line 26
+MMJump scroll down region [1..24] size 24 Line 27
+MMJump scroll down region [1..24] size 24 Line 28
+MMJump scroll down region [1..24] size 24 Line 29
+MMPush <RETURN>[2J[23;24r
+Origin mode test. This line should be at the bottom of the screen.[1;1HThis line should be the one above the bottom of the screen. Push <RETURN>[2J[?6l[24;1HOrigin mode test. This line should be at the bottom of the screen.[1;1HThis line should be at the top of the screen. Push <RETURN>
\ No newline at end of file diff --git a/src/tests/fixtures/vttest2-12 b/src/tests/fixtures/vttest2-12 new file mode 100644 index 00000000..f350da31 --- /dev/null +++ b/src/tests/fixtures/vttest2-12 @@ -0,0 +1,257 @@ +[2m⏎(B[m
⏎
[KWelcome to fish, the friendly interactive shell
+[?2004h]0;fish /home/aram/code/zellij[30m(B[m[97m[46m⋊>(B[m [33m~/c/zellij(B[m on [32mvttest-2(B[m ⨯ [K[44C[38;2;85;85;85m17:39:32(B[m
[72C
[28C
[28Cv[J[67C[38;2;85;85;85m17:39:32(B[m
[96C
[29C[91mv[67C[30m(B[m[38;2;85;85;85m17:39:32(B[m
[96C
[29C[38;2;85;85;85mttest[62C[30m(B[m[38;2;85;85;85m17:39:32(B[m
[96C
[29C[91mt[38;2;85;85;85mtest[62C[30m(B[m[38;2;85;85;85m17:39:32(B[m
[96C
[30C[91mt[38;2;85;85;85mest[62C[30m(B[m[38;2;85;85;85m17:39:32(B[m
[96C
[31C[91me[38;2;85;85;85mst[62C[30m(B[m[38;2;85;85;85m17:39:32(B[m
[96C
[32C[91ms[38;2;85;85;85mt[62C[30m(B[m[38;2;85;85;85m17:39:32(B[m
[96C
[33C[91mt[62C[30m(B[m[38;2;85;85;85m17:39:32(B[m
[96C
[34C[1mvttest[62C(B[m[38;2;85;85;85m17:39:32(B[m
[96C
[34C[62C[38;2;85;85;85m17:39:32(B[m
[96C
[34C
+[30m(B[m[?2004l]0;vttest /home/aram/code/zellij[30m(B[m
[0c[?1l[?3l[?4l[?5l[?6l[?7h[?8l[?40h[?45l[r[0m[2J[3;10HVT100 test program, version 2.7 (20210210)[4;10HLine speed 38400bd [5;10HChoose test type:
+[6;1H[0J
+ 0. Exit
+ 1. Test of cursor movements
+ 2. Test of screen features
+ 3. Test of character sets
+ 4. Test of double-sized characters
+ 5. Test of keyboard
+ 6. Test of terminal reports
+ 7. Test of VT52 mode
+ 8. Test of VT102 features (Insert/Delete Char/Line)
+ 9. Test of known bugs
+ 10. Test of reset and self-test
+ 11. Test non-VT100 (e.g., VT220, XTERM) terminals
+ 12. Modify test-parameters
+
+ Enter choice number (0 - 12): 2
+[2J[1;1H[?7h****************************************************************************************************************************************************************[?7l[3;1H****************************************************************************************************************************************************************[?7h[5;1HThis should be three identical lines of *'s completely filling
+the top of the screen without any empty lines between.
+(Test of WRAP AROUND mode setting.)
+Push <RETURN>[2J[3g[1;1H[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[1;4H[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[1;7H[1g[2g[1;1H * * * * * * * * * * * * *[2;2H * * * * * * * * * * * * *[4;1HTest of TAB setting/resetting. These two lines
+should look the same. Push <RETURN>[?5h[?3h[2J[1;1H[3g[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[1;1H12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901[3;3HThis is 132 column mode, light background.[4;4HThis is 132 column mode, light background.[5;5HThis is 132 column mode, light background.[6;6HThis is 132 column mode, light background.[7;7HThis is 132 column mode, light background.[8;8HThis is 132 column mode, light background.[9;9HThis is 132 column mode, light background.[10;10HThis is 132 column mode, light background.[11;11HThis is 132 column mode, light background.[12;12HThis is 132 column mode, light background.[13;13HThis is 132 column mode, light background.[14;14HThis is 132 column mode, light background.[15;15HThis is 132 column mode, light background.[16;16HThis is 132 column mode, light background.[17;17HThis is 132 column mode, light background.[18;18HThis is 132 column mode, light background.[19;19HThis is 132 column mode, light background.[20;20HThis is 132 column mode, light background.Push <RETURN>[?3l[2J[1;1H1234567890123456789012345678901234567890123456789012345678901234567890123456789[3;3HThis is 80 column mode, light background.[4;4HThis is 80 column mode, light background.[5;5HThis is 80 column mode, light background.[6;6HThis is 80 column mode, light background.[7;7HThis is 80 column mode, light background.[8;8HThis is 80 column mode, light background.[9;9HThis is 80 column mode, light background.[10;10HThis is 80 column mode, light background.[11;11HThis is 80 column mode, light background.[12;12HThis is 80 column mode, light background.[13;13HThis is 80 column mode, light background.[14;14HThis is 80 column mode, light background.[15;15HThis is 80 column mode, light background.[16;16HThis is 80 column mode, light background.[17;17HThis is 80 column mode, light background.[18;18HThis is 80 column mode, light background.[19;19HThis is 80 column mode, light background.[20;20HThis is 80 column mode, light background.Push <RETURN>[?5l[?3h[2J[1;1H[3g[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[1;1H12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901[3;3HThis is 132 column mode, dark background.[4;4HThis is 132 column mode, dark background.[5;5HThis is 132 column mode, dark background.[6;6HThis is 132 column mode, dark background.[7;7HThis is 132 column mode, dark background.[8;8HThis is 132 column mode, dark background.[9;9HThis is 132 column mode, dark background.[10;10HThis is 132 column mode, dark background.[11;11HThis is 132 column mode, dark background.[12;12HThis is 132 column mode, dark background.[13;13HThis is 132 column mode, dark background.[14;14HThis is 132 column mode, dark background.[15;15HThis is 132 column mode, dark background.[16;16HThis is 132 column mode, dark background.[17;17HThis is 132 column mode, dark background.[18;18HThis is 132 column mode, dark background.[19;19HThis is 132 column mode, dark background.[20;20HThis is 132 column mode, dark background.Push <RETURN>[?3l[2J[1;1H1234567890123456789012345678901234567890123456789012345678901234567890123456789[3;3HThis is 80 column mode, dark background.[4;4HThis is 80 column mode, dark background.[5;5HThis is 80 column mode, dark background.[6;6HThis is 80 column mode, dark background.[7;7HThis is 80 column mode, dark background.[8;8HThis is 80 column mode, dark background.[9;9HThis is 80 column mode, dark background.[10;10HThis is 80 column mode, dark background.[11;11HThis is 80 column mode, dark background.[12;12HThis is 80 column mode, dark background.[13;13HThis is 80 column mode, dark background.[14;14HThis is 80 column mode, dark background.[15;15HThis is 80 column mode, dark background.[16;16HThis is 80 column mode, dark background.[17;17HThis is 80 column mode, dark background.[18;18HThis is 80 column mode, dark background.[19;19HThis is 80 column mode, dark background.[20;20HThis is 80 column mode, dark background.Push <RETURN>[2J[?6h[?4h[12;13r[2J[24BSoft scroll up region [12..13] size 2 Line 1
+Soft scroll up region [12..13] size 2 Line 2
+Soft scroll up region [12..13] size 2 Line 3
+Soft scroll up region [12..13] size 2 Line 4
+Soft scroll up region [12..13] size 2 Line 5
+Soft scroll up region [12..13] size 2 Line 6
+Soft scroll up region [12..13] size 2 Line 7
+Soft scroll up region [12..13] size 2 Line 8
+Soft scroll up region [12..13] size 2 Line 9
+Soft scroll up region [12..13] size 2 Line 10
+Soft scroll up region [12..13] size 2 Line 11
+Soft scroll up region [12..13] size 2 Line 12
+Soft scroll up region [12..13] size 2 Line 13
+Soft scroll up region [12..13] size 2 Line 14
+Soft scroll up region [12..13] size 2 Line 15
+Soft scroll up region [12..13] size 2 Line 16
+Soft scroll up region [12..13] size 2 Line 17
+Soft scroll up region [12..13] size 2 Line 18
+Soft scroll up region [12..13] size 2 Line 19
+Soft scroll up region [12..13] size 2 Line 20
+Soft scroll up region [12..13] size 2 Line 21
+Soft scroll up region [12..13] size 2 Line 22
+Soft scroll up region [12..13] size 2 Line 23
+Soft scroll up region [12..13] size 2 Line 24
+Soft scroll up region [12..13] size 2 Line 25
+Soft scroll up region [12..13] size 2 Line 26
+Soft scroll up region [12..13] size 2 Line 27
+Soft scroll up region [12..13] size 2 Line 28
+Soft scroll up region [12..13] size 2 Line 29
+[24ASoft scroll down region [12..13] size 2 Line 1
+MMSoft scroll down region [12..13] size 2 Line 2
+MMSoft scroll down region [12..13] size 2 Line 3
+MMSoft scroll down region [12..13] size 2 Line 4
+MMSoft scroll down region [12..13] size 2 Line 5
+MMSoft scroll down region [12..13] size 2 Line 6
+MMSoft scroll down region [12..13] size 2 Line 7
+MMSoft scroll down region [12..13] size 2 Line 8
+MMSoft scroll down region [12..13] size 2 Line 9
+MMSoft scroll down region [12..13] size 2 Line 10
+MMSoft scroll down region [12..13] size 2 Line 11
+MMSoft scroll down region [12..13] size 2 Line 12
+MMSoft scroll down region [12..13] size 2 Line 13
+MMSoft scroll down region [12..13] size 2 Line 14
+MMSoft scroll down region [12..13] size 2 Line 15
+MMSoft scroll down region [12..13] size 2 Line 16
+MMSoft scroll down region [12..13] size 2 Line 17
+MMSoft scroll down region [12..13] size 2 Line 18
+MMSoft scroll down region [12..13] size 2 Line 19
+MMSoft scroll down region [12..13] size 2 Line 20
+MMSoft scroll down region [12..13] size 2 Line 21
+MMSoft scroll down region [12..13] size 2 Line 22
+MMSoft scroll down region [12..13] size 2 Line 23
+MMSoft scroll down region [12..13] size 2 Line 24
+MMSoft scroll down region [12..13] size 2 Line 25
+MMSoft scroll down region [12..13] size 2 Line 26
+MMSoft scroll down region [12..13] size 2 Line 27
+MMSoft scroll down region [12..13] size 2 Line 28
+MMSoft scroll down region [12..13] size 2 Line 29
+MMPush <RETURN>[1;24r[2J[24BSoft scroll up region [1..24] size 24 Line 1
+Soft scroll up region [1..24] size 24 Line 2
+Soft scroll up region [1..24] size 24 Line 3
+Soft scroll up region [1..24] size 24 Line 4
+Soft scroll up region [1..24] size 24 Line 5
+Soft scroll up region [1..24] size 24 Line 6
+Soft scroll up region [1..24] size 24 Line 7
+Soft scroll up region [1..24] size 24 Line 8
+Soft scroll up region [1..24] size 24 Line 9
+Soft scroll up region [1..24] size 24 Line 10
+Soft scroll up region [1..24] size 24 Line 11
+Soft scroll up region [1..24] size 24 Line 12
+Soft scroll up region [1..24] size 24 Line 13
+Soft scroll up region [1..24] size 24 Line 14
+Soft scroll up region [1..24] size 24 Line 15
+Soft scroll up region [1..24] size 24 Line 16
+Soft scroll up region [1..24] size 24 Line 17
+Soft scroll up region [1..24] size 24 Line 18
+Soft scroll up region [1..24] size 24 Line 19
+Soft scroll up region [1..24] size 24 Line 20
+Soft scroll up region [1..24] size 24 Line 21
+Soft scroll up region [1..24] size 24 Line 22
+Soft scroll up region [1..24] size 24 Line 23
+Soft scroll up region [1..24] size 24 Line 24
+Soft scroll up region [1..24] size 24 Line 25
+Soft scroll up region [1..24] size 24 Line 26
+Soft scroll up region [1..24] size 24 Line 27
+Soft scroll up region [1..24] size 24 Line 28
+Soft scroll up region [1..24] size 24 Line 29
+[24ASoft scroll down region [1..24] size 24 Line 1
+MMSoft scroll down region [1..24] size 24 Line 2
+MMSoft scroll down region [1..24] size 24 Line 3
+MMSoft scroll down region [1..24] size 24 Line 4
+MMSoft scroll down region [1..24] size 24 Line 5
+MMSoft scroll down region [1..24] size 24 Line 6
+MMSoft scroll down region [1..24] size 24 Line 7
+MMSoft scroll down region [1..24] size 24 Line 8
+MMSoft scroll down region [1..24] size 24 Line 9
+MMSoft scroll down region [1..24] size 24 Line 10
+MMSoft scroll down region [1..24] size 24 Line 11
+MMSoft scroll down region [1..24] size 24 Line 12
+MMSoft scroll down region [1..24] size 24 Line 13
+MMSoft scroll down region [1..24] size 24 Line 14
+MMSoft scroll down region [1..24] size 24 Line 15
+MMSoft scroll down region [1..24] size 24 Line 16
+MMSoft scroll down region [1..24] size 24 Line 17
+MMSoft scroll down region [1..24] size 24 Line 18
+MMSoft scroll down region [1..24] size 24 Line 19
+MMSoft scroll down region [1..24] size 24 Line 20
+MMSoft scroll down region [1..24] size 24 Line 21
+MMSoft scroll down region [1..24] size 24 Line 22
+MMSoft scroll down region [1..24] size 24 Line 23
+MMSoft scroll down region [1..24] size 24 Line 24
+MMSoft scroll down region [1..24] size 24 Line 25
+MMSoft scroll down region [1..24] size 24 Line 26
+MMSoft scroll down region [1..24] size 24 Line 27
+MMSoft scroll down region [1..24] size 24 Line 28
+MMSoft scroll down region [1..24] size 24 Line 29
+MMPush <RETURN>[?4l[12;13r[2J[24BJump scroll up region [12..13] size 2 Line 1
+Jump scroll up region [12..13] size 2 Line 2
+Jump scroll up region [12..13] size 2 Line 3
+Jump scroll up region [12..13] size 2 Line 4
+Jump scroll up region [12..13] size 2 Line 5
+Jump scroll up region [12..13] size 2 Line 6
+Jump scroll up region [12..13] size 2 Line 7
+Jump scroll up region [12..13] size 2 Line 8
+Jump scroll up region [12..13] size 2 Line 9
+Jump scroll up region [12..13] size 2 Line 10
+Jump scroll up region [12..13] size 2 Line 11
+Jump scroll up region [12..13] size 2 Line 12
+Jump scroll up region [12..13] size 2 Line 13
+Jump scroll up region [12..13] size 2 Line 14
+Jump scroll up region [12..13] size 2 Line 15
+Jump scroll up region [12..13] size 2 Line 16
+Jump scroll up region [12..13] size 2 Line 17
+Jump scroll up region [12..13] size 2 Line 18
+Jump scroll up region [12..13] size 2 Line 19
+Jump scroll up region [12..13] size 2 Line 20
+Jump scroll up region [12..13] size 2 Line 21
+Jump scroll up region [12..13] size 2 Line 22
+Jump scroll up region [12..13] size 2 Line 23
+Jump scroll up region [12..13] size 2 Line 24
+Jump scroll up region [12..13] size 2 Line 25
+Jump scroll up region [12..13] size 2 Line 26
+Jump scroll up region [12..13] size 2 Line 27
+Jump scroll up region [12..13] size 2 Line 28
+Jump scroll up region [12..13] size 2 Line 29
+[24AJump scroll down region [12..13] size 2 Line 1
+MMJump scroll down region [12..13] size 2 Line 2
+MMJump scroll down region [12..13] size 2 Line 3
+MMJump scroll down region [12..13] size 2 Line 4
+MMJump scroll down region [12..13] size 2 Line 5
+MMJump scroll down region [12..13] size 2 Line 6
+MMJump scroll down region [12..13] size 2 Line 7
+MMJump scroll down region [12..13] size 2 Line 8
+MMJump scroll down region [12..13] size 2 Line 9
+MMJump scroll down region [12..13] size 2 Line 10
+MMJump scroll down region [12..13] size 2 Line 11
+MMJump scroll down region [12..13] size 2 Line 12
+MMJump scroll down region [12..13] size 2 Line 13
+MMJump scroll down region [12..13] size 2 Line 14
+MMJump scroll down region [12..13] size 2 Line 15
+MMJump scroll down region [12..13] size 2 Line 16
+MMJump scroll down region [12..13] size 2 Line 17
+MMJump scroll down region [12..13] size 2 Line 18
+MMJump scroll down region [12..13] size 2 Line 19
+MMJump scroll down region [12..13] size 2 Line 20
+MMJump scroll down region [12..13] size 2 Line 21
+MMJump scroll down region [12..13] size 2 Line 22
+MMJump scroll down region [12..13] size 2 Line 23
+MMJump scroll down region [12..13] size 2 Line 24
+MMJump scroll down region [12..13] size 2 Line 25
+MMJump scroll down region [12..13] size 2 Line 26
+MMJump scroll down region [12..13] size 2 Line 27
+MMJump scroll down region [12..13] size 2 Line 28
+MMJump scroll down region [12..13] size 2 Line 29
+MMPush <RETURN>[1;24r[2J[24BJump scroll up region [1..24] size 24 Line 1
+Jump scroll up region [1..24] size 24 Line 2
+Jump scroll up region [1..24] size 24 Line 3
+Jump scroll up region [1..24] size 24 Line 4
+Jump scroll up region [1..24] size 24 Line 5
+Jump scroll up region [1..24] size 24 Line 6
+Jump scroll up region [1..24] size 24 Line 7
+Jump scroll up region [1..24] size 24 Line 8
+Jump scroll up region [1..24] size 24 Line 9
+Jump scroll up region [1..24] size 24 Line 10
+Jump scroll up region [1..24] size 24 Line 11
+Jump scroll up region [1..24] size 24 Line 12
+Jump scroll up region [1..24] size 24 Line 13
+Jump scroll up region [1..24] size 24 Line 14
+Jump scroll up region [1..24] size 24 Line 15
+Jump scroll up region [1..24] size 24 Line 16
+Jump scroll up region [1..24] size 24 Line 17
+Jump scroll up region [1..24] size 24 Line 18
+Jump scroll up region [1..24] size 24 Line 19
+Jump scroll up region [1..24] size 24 Line 20
+Jump scroll up region [1..24] size 24 Line 21
+Jump scroll up region [1..24] size 24 Line 22
+Jump scroll up region [1..24] size 24 Line 23
+Jump scroll up region [1..24] size 24 Line 24
+Jump scroll up region [1..24] size 24 Line 25
+Jump scroll up region [1..24] size 24 Line 26
+Jump scroll up region [1..24] size 24 Line 27
+Jump scroll up region [1..24] size 24 Line 28
+Jump scroll up region [1..24] size 24 Line 29
+[24AJump scroll down region [1..24] size 24 Line 1
+MMJump scroll down region [1..24] size 24 Line 2
+MMJump scroll down region [1..24] size 24 Line 3
+MMJump scroll down region [1..24] size 24 Line 4
+MMJump scroll down region [1..24] size 24 Line 5
+MMJump scroll down region [1..24] size 24 Line 6
+MMJump scroll down region [1..24] size 24 Line 7
+MMJump scroll down region [1..24] size 24 Line 8
+MMJump scroll down region [1..24] size 24 Line 9
+MMJump scroll down region [1..24] size 24 Line 10
+MMJump scroll down region [1..24] size 24 Line 11
+MMJump scroll down region [1..24] size 24 Line 12
+MMJump scroll down region [1..24] size 24 Line 13
+MMJump scroll down region [1..24] size 24 Line 14
+MMJump scroll down region [1..24] size 24 Line 15
+MMJump scroll down region [1..24] size 24 Line 16
+MMJump scroll down region [1..24] size 24 Line 17
+MMJump scroll down region [1..24] size 24 Line 18
+MMJump scroll down region [1..24] size 24 Line 19
+MMJump scroll down region [1..24] size 24 Line 20
+MMJump scroll down region [1..24] size 24 Line 21
+MMJump scroll down region [1..24] size 24 Line 22
+MMJump scroll down region [1..24] size 24 Line 23
+MMJump scroll down region [1..24] size 24 Line 24
+MMJump scroll down region [1..24] size 24 Line 25
+MMJump scroll down region [1..24] size 24 Line 26
+MMJump scroll down region [1..24] size 24 Line 27
+MMJump scroll down region [1..24] size 24 Line 28
+MMJump scroll down region [1..24] size 24 Line 29
+MMPush <RETURN>[2J[23;24r
+Origin mode test. This line should be at the bottom of the screen.[1;1HThis line should be the one above the bottom of the screen. Push <RETURN>[2J[?6l[24;1HOrigin mode test. This line should be at the bottom of the screen.[1;1HThis line should be at the top of the screen. Push <RETURN>[1;24r[2J[1;20HGraphic rendition test pattern:[4;1H[0mvanilla[4;40H[0;1mbold[6;6H[;4munderline[6;45H[;1m[4mbold underline[8;1H[0;5mblink[8;40H[0;5;1mbold blink[10;6H[0;4;5munderline blink[10;45H[0;1;4;5mbold underline blink[12;1H[1;4;5;0;7mnegative[12;40H[0;1;7mbold negative[14;6H[0;4;7munderline negative[14;45H[0;1;4;7mbold underline negative[16;1H[1;4;;5;7mblink negative[16;40H[0;1;5;7mbold blink negative[18;6H[0;4;5;7munderline blink negative[18;45H[0;1;4;5;7mbold underline blink negative[m[?5l[23;1H[0KDark background. Push <RETURN>
\ No newline at end of file diff --git a/src/tests/fixtures/vttest2-13 b/src/tests/fixtures/vttest2-13 new file mode 100644 index 00000000..be807d9a --- /dev/null +++ b/src/tests/fixtures/vttest2-13 @@ -0,0 +1,257 @@ +[2m⏎(B[m
⏎
[KWelcome to fish, the friendly interactive shell
+[?2004h]0;fish /home/aram/code/zellij[30m(B[m[97m[46m⋊>(B[m [33m~/c/zellij(B[m on [32mvttest-2(B[m ⨯ [K[44C[38;2;85;85;85m17:40:27(B[m
[72C
[28C
[28Cv[J[67C[38;2;85;85;85m17:40:27(B[m
[96C
[29C[91mv[67C[30m(B[m[38;2;85;85;85m17:40:27(B[m
[96C
[29C[38;2;85;85;85mttest[62C[30m(B[m[38;2;85;85;85m17:40:27(B[m
[96C
[29C[91mt[38;2;85;85;85mtest[62C[30m(B[m[38;2;85;85;85m17:40:27(B[m
[96C
[30C[91mt[38;2;85;85;85mest[62C[30m(B[m[38;2;85;85;85m17:40:27(B[m
[96C
[31C[91me[38;2;85;85;85mst[62C[30m(B[m[38;2;85;85;85m17:40:27(B[m
[96C
[32C[91ms[38;2;85;85;85mt[62C[30m(B[m[38;2;85;85;85m17:40:27(B[m
[96C
[33C[91mt[62C[30m(B[m[38;2;85;85;85m17:40:27(B[m
[96C
[34C[1mvttest[62C(B[m[38;2;85;85;85m17:40:27(B[m
[96C
[34C[62C[38;2;85;85;85m17:40:27(B[m
[96C
[34C
+[30m(B[m[?2004l]0;vttest /home/aram/code/zellij[30m(B[m
[0c[?1l[?3l[?4l[?5l[?6l[?7h[?8l[?40h[?45l[r[0m[2J[3;10HVT100 test program, version 2.7 (20210210)[4;10HLine speed 38400bd [5;10HChoose test type:
+[6;1H[0J
+ 0. Exit
+ 1. Test of cursor movements
+ 2. Test of screen features
+ 3. Test of character sets
+ 4. Test of double-sized characters
+ 5. Test of keyboard
+ 6. Test of terminal reports
+ 7. Test of VT52 mode
+ 8. Test of VT102 features (Insert/Delete Char/Line)
+ 9. Test of known bugs
+ 10. Test of reset and self-test
+ 11. Test non-VT100 (e.g., VT220, XTERM) terminals
+ 12. Modify test-parameters
+
+ Enter choice number (0 - 12): 2
+[2J[1;1H[?7h****************************************************************************************************************************************************************[?7l[3;1H****************************************************************************************************************************************************************[?7h[5;1HThis should be three identical lines of *'s completely filling
+the top of the screen without any empty lines between.
+(Test of WRAP AROUND mode setting.)
+Push <RETURN>[2J[3g[1;1H[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[1;4H[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[1;7H[1g[2g[1;1H * * * * * * * * * * * * *[2;2H * * * * * * * * * * * * *[4;1HTest of TAB setting/resetting. These two lines
+should look the same. Push <RETURN>[?5h[?3h[2J[1;1H[3g[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[1;1H12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901[3;3HThis is 132 column mode, light background.[4;4HThis is 132 column mode, light background.[5;5HThis is 132 column mode, light background.[6;6HThis is 132 column mode, light background.[7;7HThis is 132 column mode, light background.[8;8HThis is 132 column mode, light background.[9;9HThis is 132 column mode, light background.[10;10HThis is 132 column mode, light background.[11;11HThis is 132 column mode, light background.[12;12HThis is 132 column mode, light background.[13;13HThis is 132 column mode, light background.[14;14HThis is 132 column mode, light background.[15;15HThis is 132 column mode, light background.[16;16HThis is 132 column mode, light background.[17;17HThis is 132 column mode, light background.[18;18HThis is 132 column mode, light background.[19;19HThis is 132 column mode, light background.[20;20HThis is 132 column mode, light background.Push <RETURN>[?3l[2J[1;1H1234567890123456789012345678901234567890123456789012345678901234567890123456789[3;3HThis is 80 column mode, light background.[4;4HThis is 80 column mode, light background.[5;5HThis is 80 column mode, light background.[6;6HThis is 80 column mode, light background.[7;7HThis is 80 column mode, light background.[8;8HThis is 80 column mode, light background.[9;9HThis is 80 column mode, light background.[10;10HThis is 80 column mode, light background.[11;11HThis is 80 column mode, light background.[12;12HThis is 80 column mode, light background.[13;13HThis is 80 column mode, light background.[14;14HThis is 80 column mode, light background.[15;15HThis is 80 column mode, light background.[16;16HThis is 80 column mode, light background.[17;17HThis is 80 column mode, light background.[18;18HThis is 80 column mode, light background.[19;19HThis is 80 column mode, light background.[20;20HThis is 80 column mode, light background.Push <RETURN>[?5l[?3h[2J[1;1H[3g[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[1;1H12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901[3;3HThis is 132 column mode, dark background.[4;4HThis is 132 column mode, dark background.[5;5HThis is 132 column mode, dark background.[6;6HThis is 132 column mode, dark background.[7;7HThis is 132 column mode, dark background.[8;8HThis is 132 column mode, dark background.[9;9HThis is 132 column mode, dark background.[10;10HThis is 132 column mode, dark background.[11;11HThis is 132 column mode, dark background.[12;12HThis is 132 column mode, dark background.[13;13HThis is 132 column mode, dark background.[14;14HThis is 132 column mode, dark background.[15;15HThis is 132 column mode, dark background.[16;16HThis is 132 column mode, dark background.[17;17HThis is 132 column mode, dark background.[18;18HThis is 132 column mode, dark background.[19;19HThis is 132 column mode, dark background.[20;20HThis is 132 column mode, dark background.Push <RETURN>[?3l[2J[1;1H1234567890123456789012345678901234567890123456789012345678901234567890123456789[3;3HThis is 80 column mode, dark background.[4;4HThis is 80 column mode, dark background.[5;5HThis is 80 column mode, dark background.[6;6HThis is 80 column mode, dark background.[7;7HThis is 80 column mode, dark background.[8;8HThis is 80 column mode, dark background.[9;9HThis is 80 column mode, dark background.[10;10HThis is 80 column mode, dark background.[11;11HThis is 80 column mode, dark background.[12;12HThis is 80 column mode, dark background.[13;13HThis is 80 column mode, dark background.[14;14HThis is 80 column mode, dark background.[15;15HThis is 80 column mode, dark background.[16;16HThis is 80 column mode, dark background.[17;17HThis is 80 column mode, dark background.[18;18HThis is 80 column mode, dark background.[19;19HThis is 80 column mode, dark background.[20;20HThis is 80 column mode, dark background.Push <RETURN>[2J[?6h[?4h[12;13r[2J[24BSoft scroll up region [12..13] size 2 Line 1
+Soft scroll up region [12..13] size 2 Line 2
+Soft scroll up region [12..13] size 2 Line 3
+Soft scroll up region [12..13] size 2 Line 4
+Soft scroll up region [12..13] size 2 Line 5
+Soft scroll up region [12..13] size 2 Line 6
+Soft scroll up region [12..13] size 2 Line 7
+Soft scroll up region [12..13] size 2 Line 8
+Soft scroll up region [12..13] size 2 Line 9
+Soft scroll up region [12..13] size 2 Line 10
+Soft scroll up region [12..13] size 2 Line 11
+Soft scroll up region [12..13] size 2 Line 12
+Soft scroll up region [12..13] size 2 Line 13
+Soft scroll up region [12..13] size 2 Line 14
+Soft scroll up region [12..13] size 2 Line 15
+Soft scroll up region [12..13] size 2 Line 16
+Soft scroll up region [12..13] size 2 Line 17
+Soft scroll up region [12..13] size 2 Line 18
+Soft scroll up region [12..13] size 2 Line 19
+Soft scroll up region [12..13] size 2 Line 20
+Soft scroll up region [12..13] size 2 Line 21
+Soft scroll up region [12..13] size 2 Line 22
+Soft scroll up region [12..13] size 2 Line 23
+Soft scroll up region [12..13] size 2 Line 24
+Soft scroll up region [12..13] size 2 Line 25
+Soft scroll up region [12..13] size 2 Line 26
+Soft scroll up region [12..13] size 2 Line 27
+Soft scroll up region [12..13] size 2 Line 28
+Soft scroll up region [12..13] size 2 Line 29
+[24ASoft scroll down region [12..13] size 2 Line 1
+MMSoft scroll down region [12..13] size 2 Line 2
+MMSoft scroll down region [12..13] size 2 Line 3
+MMSoft scroll down region [12..13] size 2 Line 4
+MMSoft scroll down region [12..13] size 2 Line 5
+MMSoft scroll down region [12..13] size 2 Line 6
+MMSoft scroll down region [12..13] size 2 Line 7
+MMSoft scroll down region [12..13] size 2 Line 8
+MMSoft scroll down region [12..13] size 2 Line 9
+MMSoft scroll down region [12..13] size 2 Line 10
+MMSoft scroll down region [12..13] size 2 Line 11
+MMSoft scroll down region [12..13] size 2 Line 12
+MMSoft scroll down region [12..13] size 2 Line 13
+MMSoft scroll down region [12..13] size 2 Line 14
+MMSoft scroll down region [12..13] size 2 Line 15
+MMSoft scroll down region [12..13] size 2 Line 16
+MMSoft scroll down region [12..13] size 2 Line 17
+MMSoft scroll down region [12..13] size 2 Line 18
+MMSoft scroll down region [12..13] size 2 Line 19
+MMSoft scroll down region [12..13] size 2 Line 20
+MMSoft scroll down region [12..13] size 2 Line 21
+MMSoft scroll down region [12..13] size 2 Line 22
+MMSoft scroll down region [12..13] size 2 Line 23
+MMSoft scroll down region [12..13] size 2 Line 24
+MMSoft scroll down region [12..13] size 2 Line 25
+MMSoft scroll down region [12..13] size 2 Line 26
+MMSoft scroll down region [12..13] size 2 Line 27
+MMSoft scroll down region [12..13] size 2 Line 28
+MMSoft scroll down region [12..13] size 2 Line 29
+MMPush <RETURN>[1;24r[2J[24BSoft scroll up region [1..24] size 24 Line 1
+Soft scroll up region [1..24] size 24 Line 2
+Soft scroll up region [1..24] size 24 Line 3
+Soft scroll up region [1..24] size 24 Line 4
+Soft scroll up region [1..24] size 24 Line 5
+Soft scroll up region [1..24] size 24 Line 6
+Soft scroll up region [1..24] size 24 Line 7
+Soft scroll up region [1..24] size 24 Line 8
+Soft scroll up region [1..24] size 24 Line 9
+Soft scroll up region [1..24] size 24 Line 10
+Soft scroll up region [1..24] size 24 Line 11
+Soft scroll up region [1..24] size 24 Line 12
+Soft scroll up region [1..24] size 24 Line 13
+Soft scroll up region [1..24] size 24 Line 14
+Soft scroll up region [1..24] size 24 Line 15
+Soft scroll up region [1..24] size 24 Line 16
+Soft scroll up region [1..24] size 24 Line 17
+Soft scroll up region [1..24] size 24 Line 18
+Soft scroll up region [1..24] size 24 Line 19
+Soft scroll up region [1..24] size 24 Line 20
+Soft scroll up region [1..24] size 24 Line 21
+Soft scroll up region [1..24] size 24 Line 22
+Soft scroll up region [1..24] size 24 Line 23
+Soft scroll up region [1..24] size 24 Line 24
+Soft scroll up region [1..24] size 24 Line 25
+Soft scroll up region [1..24] size 24 Line 26
+Soft scroll up region [1..24] size 24 Line 27
+Soft scroll up region [1..24] size 24 Line 28
+Soft scroll up region [1..24] size 24 Line 29
+[24ASoft scroll down region [1..24] size 24 Line 1
+MMSoft scroll down region [1..24] size 24 Line 2
+MMSoft scroll down region [1..24] size 24 Line 3
+MMSoft scroll down region [1..24] size 24 Line 4
+MMSoft scroll down region [1..24] size 24 Line 5
+MMSoft scroll down region [1..24] size 24 Line 6
+MMSoft scroll down region [1..24] size 24 Line 7
+MMSoft scroll down region [1..24] size 24 Line 8
+MMSoft scroll down region [1..24] size 24 Line 9
+MMSoft scroll down region [1..24] size 24 Line 10
+MMSoft scroll down region [1..24] size 24 Line 11
+MMSoft scroll down region [1..24] size 24 Line 12
+MMSoft scroll down region [1..24] size 24 Line 13
+MMSoft scroll down region [1..24] size 24 Line 14
+MMSoft scroll down region [1..24] size 24 Line 15
+MMSoft scroll down region [1..24] size 24 Line 16
+MMSoft scroll down region [1..24] size 24 Line 17
+MMSoft scroll down region [1..24] size 24 Line 18
+MMSoft scroll down region [1..24] size 24 Line 19
+MMSoft scroll down region [1..24] size 24 Line 20
+MMSoft scroll down region [1..24] size 24 Line 21
+MMSoft scroll down region [1..24] size 24 Line 22
+MMSoft scroll down region [1..24] size 24 Line 23
+MMSoft scroll down region [1..24] size 24 Line 24
+MMSoft scroll down region [1..24] size 24 Line 25
+MMSoft scroll down region [1..24] size 24 Line 26
+MMSoft scroll down region [1..24] size 24 Line 27
+MMSoft scroll down region [1..24] size 24 Line 28
+MMSoft scroll down region [1..24] size 24 Line 29
+MMPush <RETURN>[?4l[12;13r[2J[24BJump scroll up region [12..13] size 2 Line 1
+Jump scroll up region [12..13] size 2 Line 2
+Jump scroll up region [12..13] size 2 Line 3
+Jump scroll up region [12..13] size 2 Line 4
+Jump scroll up region [12..13] size 2 Line 5
+Jump scroll up region [12..13] size 2 Line 6
+Jump scroll up region [12..13] size 2 Line 7
+Jump scroll up region [12..13] size 2 Line 8
+Jump scroll up region [12..13] size 2 Line 9
+Jump scroll up region [12..13] size 2 Line 10
+Jump scroll up region [12..13] size 2 Line 11
+Jump scroll up region [12..13] size 2 Line 12
+Jump scroll up region [12..13] size 2 Line 13
+Jump scroll up region [12..13] size 2 Line 14
+Jump scroll up region [12..13] size 2 Line 15
+Jump scroll up region [12..13] size 2 Line 16
+Jump scroll up region [12..13] size 2 Line 17
+Jump scroll up region [12..13] size 2 Line 18
+Jump scroll up region [12..13] size 2 Line 19
+Jump scroll up region [12..13] size 2 Line 20
+Jump scroll up region [12..13] size 2 Line 21
+Jump scroll up region [12..13] size 2 Line 22
+Jump scroll up region [12..13] size 2 Line 23
+Jump scroll up region [12..13] size 2 Line 24
+Jump scroll up region [12..13] size 2 Line 25
+Jump scroll up region [12..13] size 2 Line 26
+Jump scroll up region [12..13] size 2 Line 27
+Jump scroll up region [12..13] size 2 Line 28
+Jump scroll up region [12..13] size 2 Line 29
+[24AJump scroll down region [12..13] size 2 Line 1
+MMJump scroll down region [12..13] size 2 Line 2
+MMJump scroll down region [12..13] size 2 Line 3
+MMJump scroll down region [12..13] size 2 Line 4
+MMJump scroll down region [12..13] size 2 Line 5
+MMJump scroll down region [12..13] size 2 Line 6
+MMJump scroll down region [12..13] size 2 Line 7
+MMJump scroll down region [12..13] size 2 Line 8
+MMJump scroll down region [12..13] size 2 Line 9
+MMJump scroll down region [12..13] size 2 Line 10
+MMJump scroll down region [12..13] size 2 Line 11
+MMJump scroll down region [12..13] size 2 Line 12
+MMJump scroll down region [12..13] size 2 Line 13
+MMJump scroll down region [12..13] size 2 Line 14
+MMJump scroll down region [12..13] size 2 Line 15
+MMJump scroll down region [12..13] size 2 Line 16
+MMJump scroll down region [12..13] size 2 Line 17
+MMJump scroll down region [12..13] size 2 Line 18
+MMJump scroll down region [12..13] size 2 Line 19
+MMJump scroll down region [12..13] size 2 Line 20
+MMJump scroll down region [12..13] size 2 Line 21
+MMJump scroll down region [12..13] size 2 Line 22
+MMJump scroll down region [12..13] size 2 Line 23
+MMJump scroll down region [12..13] size 2 Line 24
+MMJump scroll down region [12..13] size 2 Line 25
+MMJump scroll down region [12..13] size 2 Line 26
+MMJump scroll down region [12..13] size 2 Line 27
+MMJump scroll down region [12..13] size 2 Line 28
+MMJump scroll down region [12..13] size 2 Line 29
+MMPush <RETURN>[1;24r[2J[24BJump scroll up region [1..24] size 24 Line 1
+Jump scroll up region [1..24] size 24 Line 2
+Jump scroll up region [1..24] size 24 Line 3
+Jump scroll up region [1..24] size 24 Line 4
+Jump scroll up region [1..24] size 24 Line 5
+Jump scroll up region [1..24] size 24 Line 6
+Jump scroll up region [1..24] size 24 Line 7
+Jump scroll up region [1..24] size 24 Line 8
+Jump scroll up region [1..24] size 24 Line 9
+Jump scroll up region [1..24] size 24 Line 10
+Jump scroll up region [1..24] size 24 Line 11
+Jump scroll up region [1..24] size 24 Line 12
+Jump scroll up region [1..24] size 24 Line 13
+Jump scroll up region [1..24] size 24 Line 14
+Jump scroll up region [1..24] size 24 Line 15
+Jump scroll up region [1..24] size 24 Line 16
+Jump scroll up region [1..24] size 24 Line 17
+Jump scroll up region [1..24] size 24 Line 18
+Jump scroll up region [1..24] size 24 Line 19
+Jump scroll up region [1..24] size 24 Line 20
+Jump scroll up region [1..24] size 24 Line 21
+Jump scroll up region [1..24] size 24 Line 22
+Jump scroll up region [1..24] size 24 Line 23
+Jump scroll up region [1..24] size 24 Line 24
+Jump scroll up region [1..24] size 24 Line 25
+Jump scroll up region [1..24] size 24 Line 26
+Jump scroll up region [1..24] size 24 Line 27
+Jump scroll up region [1..24] size 24 Line 28
+Jump scroll up region [1..24] size 24 Line 29
+[24AJump scroll down region [1..24] size 24 Line 1
+MMJump scroll down region [1..24] size 24 Line 2
+MMJump scroll down region [1..24] size 24 Line 3
+MMJump scroll down region [1..24] size 24 Line 4
+MMJump scroll down region [1..24] size 24 Line 5
+MMJump scroll down region [1..24] size 24 Line 6
+MMJump scroll down region [1..24] size 24 Line 7
+MMJump scroll down region [1..24] size 24 Line 8
+MMJump scroll down region [1..24] size 24 Line 9
+MMJump scroll down region [1..24] size 24 Line 10
+MMJump scroll down region [1..24] size 24 Line 11
+MMJump scroll down region [1..24] size 24 Line 12
+MMJump scroll down region [1..24] size 24 Line 13
+MMJump scroll down region [1..24] size 24 Line 14
+MMJump scroll down region [1..24] size 24 Line 15
+MMJump scroll down region [1..24] size 24 Line 16
+MMJump scroll down region [1..24] size 24 Line 17
+MMJump scroll down region [1..24] size 24 Line 18
+MMJump scroll down region [1..24] size 24 Line 19
+MMJump scroll down region [1..24] size 24 Line 20
+MMJump scroll down region [1..24] size 24 Line 21
+MMJump scroll down region [1..24] size 24 Line 22
+MMJump scroll down region [1..24] size 24 Line 23
+MMJump scroll down region [1..24] size 24 Line 24
+MMJump scroll down region [1..24] size 24 Line 25
+MMJump scroll down region [1..24] size 24 Line 26
+MMJump scroll down region [1..24] size 24 Line 27
+MMJump scroll down region [1..24] size 24 Line 28
+MMJump scroll down region [1..24] size 24 Line 29
+MMPush <RETURN>[2J[23;24r
+Origin mode test. This line should be at the bottom of the screen.[1;1HThis line should be the one above the bottom of the screen. Push <RETURN>[2J[?6l[24;1HOrigin mode test. This line should be at the bottom of the screen.[1;1HThis line should be at the top of the screen. Push <RETURN>[1;24r[2J[1;20HGraphic rendition test pattern:[4;1H[0mvanilla[4;40H[0;1mbold[6;6H[;4munderline[6;45H[;1m[4mbold underline[8;1H[0;5mblink[8;40H[0;5;1mbold blink[10;6H[0;4;5munderline blink[10;45H[0;1;4;5mbold underline blink[12;1H[1;4;5;0;7mnegative[12;40H[0;1;7mbold negative[14;6H[0;4;7munderline negative[14;45H[0;1;4;7mbold underline negative[16;1H[1;4;;5;7mblink negative[16;40H[0;1;5;7mbold blink negative[18;6H[0;4;5;7munderline blink negative[18;45H[0;1;4;5;7mbold underline blink negative[m[?5l[23;1H[0KDark background. Push <RETURN>[?5h[23;1H[0KLight background. Push <RETURN>
\ No newline at end of file diff --git a/src/tests/fixtures/vttest2-14 b/src/tests/fixtures/vttest2-14 new file mode 100644 index 00000000..f0af7cf7 --- /dev/null +++ b/src/tests/fixtures/vttest2-14 @@ -0,0 +1,260 @@ +[2m⏎(B[m
⏎
[KWelcome to fish, the friendly interactive shell
+[?2004h]0;fish /home/aram/code/zellij[30m(B[m[97m[46m⋊>(B[m [33m~/c/zellij(B[m on [32mvttest-2(B[m ⨯ [K[44C[38;2;85;85;85m17:41:03(B[m
[72C
[28C
[28Cv[J[67C[38;2;85;85;85m17:41:03(B[m
[96C
[29C[91mv[67C[30m(B[m[38;2;85;85;85m17:41:03(B[m
[96C
[29C[38;2;85;85;85mttest[62C[30m(B[m[38;2;85;85;85m17:41:03(B[m
[96C
[29C[91mt[38;2;85;85;85mtest[62C[30m(B[m[38;2;85;85;85m17:41:03(B[m
[96C
[30C[91mt[38;2;85;85;85mest[62C[30m(B[m[38;2;85;85;85m17:41:03(B[m
[96C
[31C[91me[38;2;85;85;85mst[62C[30m(B[m[38;2;85;85;85m17:41:03(B[m
[96C
[32C[91ms[38;2;85;85;85mt[62C[30m(B[m[38;2;85;85;85m17:41:03(B[m
[96C
[33C[91mt[62C[30m(B[m[38;2;85;85;85m17:41:03(B[m
[96C
[34C[1mvttest[62C(B[m[38;2;85;85;85m17:41:03(B[m
[96C
[34C[62C[38;2;85;85;85m17:41:03(B[m
[96C
[34C
+[30m(B[m[?2004l]0;vttest /home/aram/code/zellij[30m(B[m
[0c[?1l[?3l[?4l[?5l[?6l[?7h[?8l[?40h[?45l[r[0m[2J[3;10HVT100 test program, version 2.7 (20210210)[4;10HLine speed 38400bd [5;10HChoose test type:
+[6;1H[0J
+ 0. Exit
+ 1. Test of cursor movements
+ 2. Test of screen features
+ 3. Test of character sets
+ 4. Test of double-sized characters
+ 5. Test of keyboard
+ 6. Test of terminal reports
+ 7. Test of VT52 mode
+ 8. Test of VT102 features (Insert/Delete Char/Line)
+ 9. Test of known bugs
+ 10. Test of reset and self-test
+ 11. Test non-VT100 (e.g., VT220, XTERM) terminals
+ 12. Modify test-parameters
+
+ Enter choice number (0 - 12): 2
+[2J[1;1H[?7h****************************************************************************************************************************************************************[?7l[3;1H****************************************************************************************************************************************************************[?7h[5;1HThis should be three identical lines of *'s completely filling
+the top of the screen without any empty lines between.
+(Test of WRAP AROUND mode setting.)
+Push <RETURN>[2J[3g[1;1H[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[1;4H[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[1;7H[1g[2g[1;1H * * * * * * * * * * * * *[2;2H * * * * * * * * * * * * *[4;1HTest of TAB setting/resetting. These two lines
+should look the same. Push <RETURN>[?5h[?3h[2J[1;1H[3g[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[1;1H12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901[3;3HThis is 132 column mode, light background.[4;4HThis is 132 column mode, light background.[5;5HThis is 132 column mode, light background.[6;6HThis is 132 column mode, light background.[7;7HThis is 132 column mode, light background.[8;8HThis is 132 column mode, light background.[9;9HThis is 132 column mode, light background.[10;10HThis is 132 column mode, light background.[11;11HThis is 132 column mode, light background.[12;12HThis is 132 column mode, light background.[13;13HThis is 132 column mode, light background.[14;14HThis is 132 column mode, light background.[15;15HThis is 132 column mode, light background.[16;16HThis is 132 column mode, light background.[17;17HThis is 132 column mode, light background.[18;18HThis is 132 column mode, light background.[19;19HThis is 132 column mode, light background.[20;20HThis is 132 column mode, light background.Push <RETURN>[?3l[2J[1;1H1234567890123456789012345678901234567890123456789012345678901234567890123456789[3;3HThis is 80 column mode, light background.[4;4HThis is 80 column mode, light background.[5;5HThis is 80 column mode, light background.[6;6HThis is 80 column mode, light background.[7;7HThis is 80 column mode, light background.[8;8HThis is 80 column mode, light background.[9;9HThis is 80 column mode, light background.[10;10HThis is 80 column mode, light background.[11;11HThis is 80 column mode, light background.[12;12HThis is 80 column mode, light background.[13;13HThis is 80 column mode, light background.[14;14HThis is 80 column mode, light background.[15;15HThis is 80 column mode, light background.[16;16HThis is 80 column mode, light background.[17;17HThis is 80 column mode, light background.[18;18HThis is 80 column mode, light background.[19;19HThis is 80 column mode, light background.[20;20HThis is 80 column mode, light background.Push <RETURN>[?5l[?3h[2J[1;1H[3g[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[1;1H12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901[3;3HThis is 132 column mode, dark background.[4;4HThis is 132 column mode, dark background.[5;5HThis is 132 column mode, dark background.[6;6HThis is 132 column mode, dark background.[7;7HThis is 132 column mode, dark background.[8;8HThis is 132 column mode, dark background.[9;9HThis is 132 column mode, dark background.[10;10HThis is 132 column mode, dark background.[11;11HThis is 132 column mode, dark background.[12;12HThis is 132 column mode, dark background.[13;13HThis is 132 column mode, dark background.[14;14HThis is 132 column mode, dark background.[15;15HThis is 132 column mode, dark background.[16;16HThis is 132 column mode, dark background.[17;17HThis is 132 column mode, dark background.[18;18HThis is 132 column mode, dark background.[19;19HThis is 132 column mode, dark background.[20;20HThis is 132 column mode, dark background.Push <RETURN>[?3l[2J[1;1H1234567890123456789012345678901234567890123456789012345678901234567890123456789[3;3HThis is 80 column mode, dark background.[4;4HThis is 80 column mode, dark background.[5;5HThis is 80 column mode, dark background.[6;6HThis is 80 column mode, dark background.[7;7HThis is 80 column mode, dark background.[8;8HThis is 80 column mode, dark background.[9;9HThis is 80 column mode, dark background.[10;10HThis is 80 column mode, dark background.[11;11HThis is 80 column mode, dark background.[12;12HThis is 80 column mode, dark background.[13;13HThis is 80 column mode, dark background.[14;14HThis is 80 column mode, dark background.[15;15HThis is 80 column mode, dark background.[16;16HThis is 80 column mode, dark background.[17;17HThis is 80 column mode, dark background.[18;18HThis is 80 column mode, dark background.[19;19HThis is 80 column mode, dark background.[20;20HThis is 80 column mode, dark background.Push <RETURN>[2J[?6h[?4h[12;13r[2J[24BSoft scroll up region [12..13] size 2 Line 1
+Soft scroll up region [12..13] size 2 Line 2
+Soft scroll up region [12..13] size 2 Line 3
+Soft scroll up region [12..13] size 2 Line 4
+Soft scroll up region [12..13] size 2 Line 5
+Soft scroll up region [12..13] size 2 Line 6
+Soft scroll up region [12..13] size 2 Line 7
+Soft scroll up region [12..13] size 2 Line 8
+Soft scroll up region [12..13] size 2 Line 9
+Soft scroll up region [12..13] size 2 Line 10
+Soft scroll up region [12..13] size 2 Line 11
+Soft scroll up region [12..13] size 2 Line 12
+Soft scroll up region [12..13] size 2 Line 13
+Soft scroll up region [12..13] size 2 Line 14
+Soft scroll up region [12..13] size 2 Line 15
+Soft scroll up region [12..13] size 2 Line 16
+Soft scroll up region [12..13] size 2 Line 17
+Soft scroll up region [12..13] size 2 Line 18
+Soft scroll up region [12..13] size 2 Line 19
+Soft scroll up region [12..13] size 2 Line 20
+Soft scroll up region [12..13] size 2 Line 21
+Soft scroll up region [12..13] size 2 Line 22
+Soft scroll up region [12..13] size 2 Line 23
+Soft scroll up region [12..13] size 2 Line 24
+Soft scroll up region [12..13] size 2 Line 25
+Soft scroll up region [12..13] size 2 Line 26
+Soft scroll up region [12..13] size 2 Line 27
+Soft scroll up region [12..13] size 2 Line 28
+Soft scroll up region [12..13] size 2 Line 29
+[24ASoft scroll down region [12..13] size 2 Line 1
+MMSoft scroll down region [12..13] size 2 Line 2
+MMSoft scroll down region [12..13] size 2 Line 3
+MMSoft scroll down region [12..13] size 2 Line 4
+MMSoft scroll down region [12..13] size 2 Line 5
+MMSoft scroll down region [12..13] size 2 Line 6
+MMSoft scroll down region [12..13] size 2 Line 7
+MMSoft scroll down region [12..13] size 2 Line 8
+MMSoft scroll down region [12..13] size 2 Line 9
+MMSoft scroll down region [12..13] size 2 Line 10
+MMSoft scroll down region [12..13] size 2 Line 11
+MMSoft scroll down region [12..13] size 2 Line 12
+MMSoft scroll down region [12..13] size 2 Line 13
+MMSoft scroll down region [12..13] size 2 Line 14
+MMSoft scroll down region [12..13] size 2 Line 15
+MMSoft scroll down region [12..13] size 2 Line 16
+MMSoft scroll down region [12..13] size 2 Line 17
+MMSoft scroll down region [12..13] size 2 Line 18
+MMSoft scroll down region [12..13] size 2 Line 19
+MMSoft scroll down region [12..13] size 2 Line 20
+MMSoft scroll down region [12..13] size 2 Line 21
+MMSoft scroll down region [12..13] size 2 Line 22
+MMSoft scroll down region [12..13] size 2 Line 23
+MMSoft scroll down region [12..13] size 2 Line 24
+MMSoft scroll down region [12..13] size 2 Line 25
+MMSoft scroll down region [12..13] size 2 Line 26
+MMSoft scroll down region [12..13] size 2 Line 27
+MMSoft scroll down region [12..13] size 2 Line 28
+MMSoft scroll down region [12..13] size 2 Line 29
+MMPush <RETURN>[1;24r[2J[24BSoft scroll up region [1..24] size 24 Line 1
+Soft scroll up region [1..24] size 24 Line 2
+Soft scroll up region [1..24] size 24 Line 3
+Soft scroll up region [1..24] size 24 Line 4
+Soft scroll up region [1..24] size 24 Line 5
+Soft scroll up region [1..24] size 24 Line 6
+Soft scroll up region [1..24] size 24 Line 7
+Soft scroll up region [1..24] size 24 Line 8
+Soft scroll up region [1..24] size 24 Line 9
+Soft scroll up region [1..24] size 24 Line 10
+Soft scroll up region [1..24] size 24 Line 11
+Soft scroll up region [1..24] size 24 Line 12
+Soft scroll up region [1..24] size 24 Line 13
+Soft scroll up region [1..24] size 24 Line 14
+Soft scroll up region [1..24] size 24 Line 15
+Soft scroll up region [1..24] size 24 Line 16
+Soft scroll up region [1..24] size 24 Line 17
+Soft scroll up region [1..24] size 24 Line 18
+Soft scroll up region [1..24] size 24 Line 19
+Soft scroll up region [1..24] size 24 Line 20
+Soft scroll up region [1..24] size 24 Line 21
+Soft scroll up region [1..24] size 24 Line 22
+Soft scroll up region [1..24] size 24 Line 23
+Soft scroll up region [1..24] size 24 Line 24
+Soft scroll up region [1..24] size 24 Line 25
+Soft scroll up region [1..24] size 24 Line 26
+Soft scroll up region [1..24] size 24 Line 27
+Soft scroll up region [1..24] size 24 Line 28
+Soft scroll up region [1..24] size 24 Line 29
+[24ASoft scroll down region [1..24] size 24 Line 1
+MMSoft scroll down region [1..24] size 24 Line 2
+MMSoft scroll down region [1..24] size 24 Line 3
+MMSoft scroll down region [1..24] size 24 Line 4
+MMSoft scroll down region [1..24] size 24 Line 5
+MMSoft scroll down region [1..24] size 24 Line 6
+MMSoft scroll down region [1..24] size 24 Line 7
+MMSoft scroll down region [1..24] size 24 Line 8
+MMSoft scroll down region [1..24] size 24 Line 9
+MMSoft scroll down region [1..24] size 24 Line 10
+MMSoft scroll down region [1..24] size 24 Line 11
+MMSoft scroll down region [1..24] size 24 Line 12
+MMSoft scroll down region [1..24] size 24 Line 13
+MMSoft scroll down region [1..24] size 24 Line 14
+MMSoft scroll down region [1..24] size 24 Line 15
+MMSoft scroll down region [1..24] size 24 Line 16
+MMSoft scroll down region [1..24] size 24 Line 17
+MMSoft scroll down region [1..24] size 24 Line 18
+MMSoft scroll down region [1..24] size 24 Line 19
+MMSoft scroll down region [1..24] size 24 Line 20
+MMSoft scroll down region [1..24] size 24 Line 21
+MMSoft scroll down region [1..24] size 24 Line 22
+MMSoft scroll down region [1..24] size 24 Line 23
+MMSoft scroll down region [1..24] size 24 Line 24
+MMSoft scroll down region [1..24] size 24 Line 25
+MMSoft scroll down region [1..24] size 24 Line 26
+MMSoft scroll down region [1..24] size 24 Line 27
+MMSoft scroll down region [1..24] size 24 Line 28
+MMSoft scroll down region [1..24] size 24 Line 29
+MMPush <RETURN>[?4l[12;13r[2J[24BJump scroll up region [12..13] size 2 Line 1
+Jump scroll up region [12..13] size 2 Line 2
+Jump scroll up region [12..13] size 2 Line 3
+Jump scroll up region [12..13] size 2 Line 4
+Jump scroll up region [12..13] size 2 Line 5
+Jump scroll up region [12..13] size 2 Line 6
+Jump scroll up region [12..13] size 2 Line 7
+Jump scroll up region [12..13] size 2 Line 8
+Jump scroll up region [12..13] size 2 Line 9
+Jump scroll up region [12..13] size 2 Line 10
+Jump scroll up region [12..13] size 2 Line 11
+Jump scroll up region [12..13] size 2 Line 12
+Jump scroll up region [12..13] size 2 Line 13
+Jump scroll up region [12..13] size 2 Line 14
+Jump scroll up region [12..13] size 2 Line 15
+Jump scroll up region [12..13] size 2 Line 16
+Jump scroll up region [12..13] size 2 Line 17
+Jump scroll up region [12..13] size 2 Line 18
+Jump scroll up region [12..13] size 2 Line 19
+Jump scroll up region [12..13] size 2 Line 20
+Jump scroll up region [12..13] size 2 Line 21
+Jump scroll up region [12..13] size 2 Line 22
+Jump scroll up region [12..13] size 2 Line 23
+Jump scroll up region [12..13] size 2 Line 24
+Jump scroll up region [12..13] size 2 Line 25
+Jump scroll up region [12..13] size 2 Line 26
+Jump scroll up region [12..13] size 2 Line 27
+Jump scroll up region [12..13] size 2 Line 28
+Jump scroll up region [12..13] size 2 Line 29
+[24AJump scroll down region [12..13] size 2 Line 1
+MMJump scroll down region [12..13] size 2 Line 2
+MMJump scroll down region [12..13] size 2 Line 3
+MMJump scroll down region [12..13] size 2 Line 4
+MMJump scroll down region [12..13] size 2 Line 5
+MMJump scroll down region [12..13] size 2 Line 6
+MMJump scroll down region [12..13] size 2 Line 7
+MMJump scroll down region [12..13] size 2 Line 8
+MMJump scroll down region [12..13] size 2 Line 9
+MMJump scroll down region [12..13] size 2 Line 10
+MMJump scroll down region [12..13] size 2 Line 11
+MMJump scroll down region [12..13] size 2 Line 12
+MMJump scroll down region [12..13] size 2 Line 13
+MMJump scroll down region [12..13] size 2 Line 14
+MMJump scroll down region [12..13] size 2 Line 15
+MMJump scroll down region [12..13] size 2 Line 16
+MMJump scroll down region [12..13] size 2 Line 17
+MMJump scroll down region [12..13] size 2 Line 18
+MMJump scroll down region [12..13] size 2 Line 19
+MMJump scroll down region [12..13] size 2 Line 20
+MMJump scroll down region [12..13] size 2 Line 21
+MMJump scroll down region [12..13] size 2 Line 22
+MMJump scroll down region [12..13] size 2 Line 23
+MMJump scroll down region [12..13] size 2 Line 24
+MMJump scroll down region [12..13] size 2 Line 25
+MMJump scroll down region [12..13] size 2 Line 26
+MMJump scroll down region [12..13] size 2 Line 27
+MMJump scroll down region [12..13] size 2 Line 28
+MMJump scroll down region [12..13] size 2 Line 29
+MMPush <RETURN>[1;24r[2J[24BJump scroll up region [1..24] size 24 Line 1
+Jump scroll up region [1..24] size 24 Line 2
+Jump scroll up region [1..24] size 24 Line 3
+Jump scroll up region [1..24] size 24 Line 4
+Jump scroll up region [1..24] size 24 Line 5
+Jump scroll up region [1..24] size 24 Line 6
+Jump scroll up region [1..24] size 24 Line 7
+Jump scroll up region [1..24] size 24 Line 8
+Jump scroll up region [1..24] size 24 Line 9
+Jump scroll up region [1..24] size 24 Line 10
+Jump scroll up region [1..24] size 24 Line 11
+Jump scroll up region [1..24] size 24 Line 12
+Jump scroll up region [1..24] size 24 Line 13
+Jump scroll up region [1..24] size 24 Line 14
+Jump scroll up region [1..24] size 24 Line 15
+Jump scroll up region [1..24] size 24 Line 16
+Jump scroll up region [1..24] size 24 Line 17
+Jump scroll up region [1..24] size 24 Line 18
+Jump scroll up region [1..24] size 24 Line 19
+Jump scroll up region [1..24] size 24 Line 20
+Jump scroll up region [1..24] size 24 Line 21
+Jump scroll up region [1..24] size 24 Line 22
+Jump scroll up region [1..24] size 24 Line 23
+Jump scroll up region [1..24] size 24 Line 24
+Jump scroll up region [1..24] size 24 Line 25
+Jump scroll up region [1..24] size 24 Line 26
+Jump scroll up region [1..24] size 24 Line 27
+Jump scroll up region [1..24] size 24 Line 28
+Jump scroll up region [1..24] size 24 Line 29
+[24AJump scroll down region [1..24] size 24 Line 1
+MMJump scroll down region [1..24] size 24 Line 2
+MMJump scroll down region [1..24] size 24 Line 3
+MMJump scroll down region [1..24] size 24 Line 4
+MMJump scroll down region [1..24] size 24 Line 5
+MMJump scroll down region [1..24] size 24 Line 6
+MMJump scroll down region [1..24] size 24 Line 7
+MMJump scroll down region [1..24] size 24 Line 8
+MMJump scroll down region [1..24] size 24 Line 9
+MMJump scroll down region [1..24] size 24 Line 10
+MMJump scroll down region [1..24] size 24 Line 11
+MMJump scroll down region [1..24] size 24 Line 12
+MMJump scroll down region [1..24] size 24 Line 13
+MMJump scroll down region [1..24] size 24 Line 14
+MMJump scroll down region [1..24] size 24 Line 15
+MMJump scroll down region [1..24] size 24 Line 16
+MMJump scroll down region [1..24] size 24 Line 17
+MMJump scroll down region [1..24] size 24 Line 18
+MMJump scroll down region [1..24] size 24 Line 19
+MMJump scroll down region [1..24] size 24 Line 20
+MMJump scroll down region [1..24] size 24 Line 21
+MMJump scroll down region [1..24] size 24 Line 22
+MMJump scroll down region [1..24] size 24 Line 23
+MMJump scroll down region [1..24] size 24 Line 24
+MMJump scroll down region [1..24] size 24 Line 25
+MMJump scroll down region [1..24] size 24 Line 26
+MMJump scroll down region [1..24] size 24 Line 27
+MMJump scroll down region [1..24] size 24 Line 28
+MMJump scroll down region [1..24] size 24 Line 29
+MMPush <RETURN>[2J[23;24r
+Origin mode test. This line should be at the bottom of the screen.[1;1HThis line should be the one above the bottom of the screen. Push <RETURN>[2J[?6l[24;1HOrigin mode test. This line should be at the bottom of the screen.[1;1HThis line should be at the top of the screen. Push <RETURN>[1;24r[2J[1;20HGraphic rendition test pattern:[4;1H[0mvanilla[4;40H[0;1mbold[6;6H[;4munderline[6;45H[;1m[4mbold underline[8;1H[0;5mblink[8;40H[0;5;1mbold blink[10;6H[0;4;5munderline blink[10;45H[0;1;4;5mbold underline blink[12;1H[1;4;5;0;7mnegative[12;40H[0;1;7mbold negative[14;6H[0;4;7munderline negative[14;45H[0;1;4;7mbold underline negative[16;1H[1;4;;5;7mblink negative[16;40H[0;1;5;7mbold blink negative[18;6H[0;4;5;7munderline blink negative[18;45H[0;1;4;5;7mbold underline blink negative[m[?5l[23;1H[0KDark background. Push <RETURN>[?5h[23;1H[0KLight background. Push <RETURN>[?5l[2J[8;12Hnormal[8;24Hbold[8;36Hunderscored[8;48Hblinking[8;60Hreversed[10;1Hstars:[12;1Hline:[14;1Hx'es:[16;1Hdiamonds:[10;12H[;0m(B)B*****7[1;1H[m(B)BA8*****[10;24H[;1m(B)B*****7[1;2H[m(B)BA8*****[10;36H[;4m(B)B*****7[1;3H[m(B)BA8*****[10;48H[;5m(B)B*****7[1;4H[m(B)BA8*****[10;60H[;7m(B)B*****7[1;5H[m(B)BA8*****[12;12H[;0m(0)Bqqqqq7[2;1H[m(B)BA8qqqqq[12;24H[;1m(0)Bqqqqq7[2;2H[m(B)BA8qqqqq[12;36H[;4m(0)Bqqqqq7[2;3H[m(B)BA8qqqqq[12;48H[;5m(0)Bqqqqq7[2;4H[m(B)BA8qqqqq[12;60H[;7m(0)Bqqqqq7[2;5H[m(B)BA8qqqqq[14;12H[;0m(B)Bxxxxx7[3;1H[m(B)BA8xxxxx[14;24H[;1m(B)Bxxxxx7[3;2H[m(B)BA8xxxxx[14;36H[;4m(B)Bxxxxx7[3;3H[m(B)BA8xxxxx[14;48H[;5m(B)Bxxxxx7[3;4H[m(B)BA8xxxxx[14;60H[;7m(B)Bxxxxx7[3;5H[m(B)BA8xxxxx[16;12H[;0m(0)B`````7[4;1H[m(B)BA8`````[16;24H[;1m(0)B`````7[4;2H[m(B)BA8`````[16;36H[;4m(0)B`````7[4;3H[m(B)BA8`````[16;48H[;5m(0)B`````7[4;4H[m(B)BA8`````[16;60H[;7m(0)B`````7[4;5H[m(B)BA8`````[0m(B)B[21;1HTest of the SAVE/RESTORE CURSOR feature. There should
+be ten characters of each flavour, and a rectangle
+of 5 x 4 A's filling the top left of the screen.
+Push <RETURN>
\ No newline at end of file diff --git a/src/tests/fixtures/vttest2-2 b/src/tests/fixtures/vttest2-2 new file mode 100644 index 00000000..7231223c --- /dev/null +++ b/src/tests/fixtures/vttest2-2 @@ -0,0 +1,24 @@ +[2m⏎(B[m
⏎
[KWelcome to fish, the friendly interactive shell
+[?2004h]0;fish /home/aram/code/zellij[30m(B[m[97m[46m⋊>(B[m [33m~/c/zellij(B[m on [32mvttest-2(B[m ⨯ [K[44C[38;2;85;85;85m17:27:00(B[m
[72C
[28C
[28Cv[J[67C[38;2;85;85;85m17:27:00(B[m
[96C
[29C[91mv[67C[30m(B[m[38;2;85;85;85m17:27:00(B[m
[96C
[29C[38;2;85;85;85mttest[62C[30m(B[m[38;2;85;85;85m17:27:00(B[m
[96C
[29C[91mt[38;2;85;85;85mtest[62C[30m(B[m[38;2;85;85;85m17:27:00(B[m
[96C
[30C[91mt[38;2;85;85;85mest[62C[30m(B[m[38;2;85;85;85m17:27:00(B[m
[96C
[31C[91me[38;2;85;85;85mst[62C[30m(B[m[38;2;85;85;85m17:27:00(B[m
[96C
[32C[91ms[38;2;85;85;85mt[62C[30m(B[m[38;2;85;85;85m17:27:00(B[m
[96C
[33C[91mt[62C[30m(B[m[38;2;85;85;85m17:27:00(B[m
[96C
[34C[1mvttest[62C(B[m[38;2;85;85;85m17:27:00(B[m
[96C
[34C[62C[38;2;85;85;85m17:27:00(B[m
[96C
[34C
+[30m(B[m[?2004l]0;vttest /home/aram/code/zellij[30m(B[m
[0c[?1l[?3l[?4l[?5l[?6l[?7h[?8l[?40h[?45l[r[0m[2J[3;10HVT100 test program, version 2.7 (20210210)[4;10HLine speed 38400bd [5;10HChoose test type:
+[6;1H[0J
+ 0. Exit
+ 1. Test of cursor movements
+ 2. Test of screen features
+ 3. Test of character sets
+ 4. Test of double-sized characters
+ 5. Test of keyboard
+ 6. Test of terminal reports
+ 7. Test of VT52 mode
+ 8. Test of VT102 features (Insert/Delete Char/Line)
+ 9. Test of known bugs
+ 10. Test of reset and self-test
+ 11. Test non-VT100 (e.g., VT220, XTERM) terminals
+ 12. Modify test-parameters
+
+ Enter choice number (0 - 12): 2
+[2J[1;1H[?7h****************************************************************************************************************************************************************[?7l[3;1H****************************************************************************************************************************************************************[?7h[5;1HThis should be three identical lines of *'s completely filling
+the top of the screen without any empty lines between.
+(Test of WRAP AROUND mode setting.)
+Push <RETURN>[2J[3g[1;1H[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[1;4H[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[1;7H[1g[2g[1;1H * * * * * * * * * * * * *[2;2H * * * * * * * * * * * * *[4;1HTest of TAB setting/resetting. These two lines
+should look the same. Push <RETURN>[?5h[?3h[2J[1;1H[3g[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[1;1H12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901[3;3HThis is 132 column mode, light background.[4;4HThis is 132 column mode, light background.[5;5HThis is 132 column mode, light background.[6;6HThis is 132 column mode, light background.[7;7HThis is 132 column mode, light background.[8;8HThis is 132 column mode, light background.[9;9HThis is 132 column mode, light background.[10;10HThis is 132 column mode, light background.[11;11HThis is 132 column mode, light background.[12;12HThis is 132 column mode, light background.[13;13HThis is 132 column mode, light background.[14;14HThis is 132 column mode, light background.[15;15HThis is 132 column mode, light background.[16;16HThis is 132 column mode, light background.[17;17HThis is 132 column mode, light background.[18;18HThis is 132 column mode, light background.[19;19HThis is 132 column mode, light background.[20;20HThis is 132 column mode, light background.Push <RETURN>
\ No newline at end of file diff --git a/src/tests/fixtures/vttest2-3 b/src/tests/fixtures/vttest2-3 new file mode 100644 index 00000000..91e4cd88 --- /dev/null +++ b/src/tests/fixtures/vttest2-3 @@ -0,0 +1,24 @@ +[2m⏎(B[m
⏎
[KWelcome to fish, the friendly interactive shell
+[?2004h]0;fish /home/aram/code/zellij[30m(B[m[97m[46m⋊>(B[m [33m~/c/zellij(B[m on [32mvttest-2(B[m ⨯ [K[44C[38;2;85;85;85m17:27:39(B[m
[72C
[28C
[28Cv[J[67C[38;2;85;85;85m17:27:39(B[m
[96C
[29C[91mv[67C[30m(B[m[38;2;85;85;85m17:27:39(B[m
[96C
[29C[38;2;85;85;85mttest[62C[30m(B[m[38;2;85;85;85m17:27:39(B[m
[96C
[29C[91mt[38;2;85;85;85mtest[62C[30m(B[m[38;2;85;85;85m17:27:39(B[m
[96C
[30C[91mt[38;2;85;85;85mest[62C[30m(B[m[38;2;85;85;85m17:27:39(B[m
[96C
[31C[91me[38;2;85;85;85mst[62C[30m(B[m[38;2;85;85;85m17:27:39(B[m
[96C
[32C[91ms[38;2;85;85;85mt[62C[30m(B[m[38;2;85;85;85m17:27:39(B[m
[96C
[33C[91mt[62C[30m(B[m[38;2;85;85;85m17:27:39(B[m
[96C
[34C[1mvttest[62C(B[m[38;2;85;85;85m17:27:39(B[m
[96C
[34C[62C[38;2;85;85;85m17:27:39(B[m
[96C
[34C
+[30m(B[m[?2004l]0;vttest /home/aram/code/zellij[30m(B[m
[0c[?1l[?3l[?4l[?5l[?6l[?7h[?8l[?40h[?45l[r[0m[2J[3;10HVT100 test program, version 2.7 (20210210)[4;10HLine speed 38400bd [5;10HChoose test type:
+[6;1H[0J
+ 0. Exit
+ 1. Test of cursor movements
+ 2. Test of screen features
+ 3. Test of character sets
+ 4. Test of double-sized characters
+ 5. Test of keyboard
+ 6. Test of terminal reports
+ 7. Test of VT52 mode
+ 8. Test of VT102 features (Insert/Delete Char/Line)
+ 9. Test of known bugs
+ 10. Test of reset and self-test
+ 11. Test non-VT100 (e.g., VT220, XTERM) terminals
+ 12. Modify test-parameters
+
+ Enter choice number (0 - 12): 2
+[2J[1;1H[?7h****************************************************************************************************************************************************************[?7l[3;1H****************************************************************************************************************************************************************[?7h[5;1HThis should be three identical lines of *'s completely filling
+the top of the screen without any empty lines between.
+(Test of WRAP AROUND mode setting.)
+Push <RETURN>[2J[3g[1;1H[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[1;4H[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[1;7H[1g[2g[1;1H * * * * * * * * * * * * *[2;2H * * * * * * * * * * * * *[4;1HTest of TAB setting/resetting. These two lines
+should look the same. Push <RETURN>[?5h[?3h[2J[1;1H[3g[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[1;1H12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901[3;3HThis is 132 column mode, light background.[4;4HThis is 132 column mode, light background.[5;5HThis is 132 column mode, light background.[6;6HThis is 132 column mode, light background.[7;7HThis is 132 column mode, light background.[8;8HThis is 132 column mode, light background.[9;9HThis is 132 column mode, light background.[10;10HThis is 132 column mode, light background.[11;11HThis is 132 column mode, light background.[12;12HThis is 132 column mode, light background.[13;13HThis is 132 column mode, light background.[14;14HThis is 132 column mode, light background.[15;15HThis is 132 column mode, light background.[16;16HThis is 132 column mode, light background.[17;17HThis is 132 column mode, light background.[18;18HThis is 132 column mode, light background.[19;19HThis is 132 column mode, light background.[20;20HThis is 132 column mode, light background.Push <RETURN>[?3l[2J[1;1H1234567890123456789012345678901234567890123456789012345678901234567890123456789[3;3HThis is 80 column mode, light background.[4;4HThis is 80 column mode, light background.[5;5HThis is 80 column mode, light background.[6;6HThis is 80 column mode, light background.[7;7HThis is 80 column mode, light background.[8;8HThis is 80 column mode, light background.[9;9HThis is 80 column mode, light background.[10;10HThis is 80 column mode, light background.[11;11HThis is 80 column mode, light background.[12;12HThis is 80 column mode, light background.[13;13HThis is 80 column mode, light background.[14;14HThis is 80 column mode, light background.[15;15HThis is 80 column mode, light background.[16;16HThis is 80 column mode, light background.[17;17HThis is 80 column mode, light background.[18;18HThis is 80 column mode, light background.[19;19HThis is 80 column mode, light background.[20;20HThis is 80 column mode, light background.Push <RETURN>
\ No newline at end of file diff --git a/src/tests/fixtures/vttest2-4 b/src/tests/fixtures/vttest2-4 new file mode 100644 index 00000000..ade6e870 --- /dev/null +++ b/src/tests/fixtures/vttest2-4 @@ -0,0 +1,24 @@ +[2m⏎(B[m
⏎
[KWelcome to fish, the friendly interactive shell
+[?2004h]0;fish /home/aram/code/zellij[30m(B[m[97m[46m⋊>(B[m [33m~/c/zellij(B[m on [32mvttest-2(B[m ⨯ [K[44C[38;2;85;85;85m17:28:52(B[m
[72C
[28C
[28Cv[J[67C[38;2;85;85;85m17:28:52(B[m
[96C
[29C[91mv[67C[30m(B[m[38;2;85;85;85m17:28:52(B[m
[96C
[29C[38;2;85;85;85mttest[62C[30m(B[m[38;2;85;85;85m17:28:52(B[m
[96C
[29C[91mt[38;2;85;85;85mtest[62C[30m(B[m[38;2;85;85;85m17:28:52(B[m
[96C
[30C[91mt[38;2;85;85;85mest[62C[30m(B[m[38;2;85;85;85m17:28:52(B[m
[96C
[31C[91me[38;2;85;85;85mst[62C[30m(B[m[38;2;85;85;85m17:28:52(B[m
[96C
[32C[91ms[38;2;85;85;85mt[62C[30m(B[m[38;2;85;85;85m17:28:52(B[m
[96C
[33C[91mt[62C[30m(B[m[38;2;85;85;85m17:28:52(B[m
[96C
[34C[1mvttest[62C(B[m[38;2;85;85;85m17:28:52(B[m
[96C
[34C[62C[38;2;85;85;85m17:28:52(B[m
[96C
[34C
+[30m(B[m[?2004l]0;vttest /home/aram/code/zellij[30m(B[m
[0c[?1l[?3l[?4l[?5l[?6l[?7h[?8l[?40h[?45l[r[0m[2J[3;10HVT100 test program, version 2.7 (20210210)[4;10HLine speed 38400bd [5;10HChoose test type:
+[6;1H[0J
+ 0. Exit
+ 1. Test of cursor movements
+ 2. Test of screen features
+ 3. Test of character sets
+ 4. Test of double-sized characters
+ 5. Test of keyboard
+ 6. Test of terminal reports
+ 7. Test of VT52 mode
+ 8. Test of VT102 features (Insert/Delete Char/Line)
+ 9. Test of known bugs
+ 10. Test of reset and self-test
+ 11. Test non-VT100 (e.g., VT220, XTERM) terminals
+ 12. Modify test-parameters
+
+ Enter choice number (0 - 12): 2
+[2J[1;1H[?7h****************************************************************************************************************************************************************[?7l[3;1H****************************************************************************************************************************************************************[?7h[5;1HThis should be three identical lines of *'s completely filling
+the top of the screen without any empty lines between.
+(Test of WRAP AROUND mode setting.)
+Push <RETURN>[2J[3g[1;1H[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[1;4H[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[1;7H[1g[2g[1;1H * * * * * * * * * * * * *[2;2H * * * * * * * * * * * * *[4;1HTest of TAB setting/resetting. These two lines
+should look the same. Push <RETURN>[?5h[?3h[2J[1;1H[3g[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[1;1H12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901[3;3HThis is 132 column mode, light background.[4;4HThis is 132 column mode, light background.[5;5HThis is 132 column mode, light background.[6;6HThis is 132 column mode, light background.[7;7HThis is 132 column mode, light background.[8;8HThis is 132 column mode, light background.[9;9HThis is 132 column mode, light background.[10;10HThis is 132 column mode, light background.[11;11HThis is 132 column mode, light background.[12;12HThis is 132 column mode, light background.[13;13HThis is 132 column mode, light background.[14;14HThis is 132 column mode, light background.[15;15HThis is 132 column mode, light background.[16;16HThis is 132 column mode, light background.[17;17HThis is 132 column mode, light background.[18;18HThis is 132 column mode, light background.[19;19HThis is 132 column mode, light background.[20;20HThis is 132 column mode, light background.Push <RETURN>[?3l[2J[1;1H1234567890123456789012345678901234567890123456789012345678901234567890123456789[3;3HThis is 80 column mode, light background.[4;4HThis is 80 column mode, light background.[5;5HThis is 80 column mode, light background.[6;6HThis is 80 column mode, light background.[7;7HThis is 80 column mode, light background.[8;8HThis is 80 column mode, light background.[9;9HThis is 80 column mode, light background.[10;10HThis is 80 column mode, light background.[11;11HThis is 80 column mode, light background.[12;12HThis is 80 column mode, light background.[13;13HThis is 80 column mode, light background.[14;14HThis is 80 column mode, light background.[15;15HThis is 80 column mode, light background.[16;16HThis is 80 column mode, light background.[17;17HThis is 80 column mode, light background.[18;18HThis is 80 column mode, light background.[19;19HThis is 80 column mode, light background.[20;20HThis is 80 column mode, light background.Push <RETURN>[?5l[?3h[2J[1;1H[3g[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[1;1H12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901[3;3HThis is 132 column mode, dark background.[4;4HThis is 132 column mode, dark background.[5;5HThis is 132 column mode, dark background.[6;6HThis is 132 column mode, dark background.[7;7HThis is 132 column mode, dark background.[8;8HThis is 132 column mode, dark background.[9;9HThis is 132 column mode, dark background.[10;10HThis is 132 column mode, dark background.[11;11HThis is 132 column mode, dark background.[12;12HThis is 132 column mode, dark background.[13;13HThis is 132 column mode, dark background.[14;14HThis is 132 column mode, dark background.[15;15HThis is 132 column mode, dark background.[16;16HThis is 132 column mode, dark background.[17;17HThis is 132 column mode, dark background.[18;18HThis is 132 column mode, dark background.[19;19HThis is 132 column mode, dark background.[20;20HThis is 132 column mode, dark background.Push <RETURN>
\ No newline at end of file diff --git a/src/tests/fixtures/vttest2-5 b/src/tests/fixtures/vttest2-5 new file mode 100644 index 00000000..2cf0a382 --- /dev/null +++ b/src/tests/fixtures/vttest2-5 @@ -0,0 +1,24 @@ +[2m⏎(B[m
⏎
[KWelcome to fish, the friendly interactive shell
+[?2004h]0;fish /home/aram/code/zellij[30m(B[m[97m[46m⋊>(B[m [33m~/c/zellij(B[m on [32mvttest-2(B[m ⨯ [K[44C[38;2;85;85;85m17:29:31(B[m
[72C
[28C
[28Cv[J[67C[38;2;85;85;85m17:29:31(B[m
[96C
[29C[91mv[67C[30m(B[m[38;2;85;85;85m17:29:31(B[m
[96C
[29C[38;2;85;85;85mttest[62C[30m(B[m[38;2;85;85;85m17:29:31(B[m
[96C
[29C[91mt[38;2;85;85;85mtest[62C[30m(B[m[38;2;85;85;85m17:29:31(B[m
[96C
[30C[91mt[38;2;85;85;85mest[62C[30m(B[m[38;2;85;85;85m17:29:31(B[m
[96C
[31C[91me[38;2;85;85;85mst[62C[30m(B[m[38;2;85;85;85m17:29:31(B[m
[96C
[32C[91ms[38;2;85;85;85mt[62C[30m(B[m[38;2;85;85;85m17:29:31(B[m
[96C
[33C[91mt[62C[30m(B[m[38;2;85;85;85m17:29:31(B[m
[96C
[34C[1mvttest[62C(B[m[38;2;85;85;85m17:29:31(B[m
[96C
[34C[62C[38;2;85;85;85m17:29:31(B[m
[96C
[34C
+[30m(B[m[?2004l]0;vttest /home/aram/code/zellij[30m(B[m
[0c[?1l[?3l[?4l[?5l[?6l[?7h[?8l[?40h[?45l[r[0m[2J[3;10HVT100 test program, version 2.7 (20210210)[4;10HLine speed 38400bd [5;10HChoose test type:
+[6;1H[0J
+ 0. Exit
+ 1. Test of cursor movements
+ 2. Test of screen features
+ 3. Test of character sets
+ 4. Test of double-sized characters
+ 5. Test of keyboard
+ 6. Test of terminal reports
+ 7. Test of VT52 mode
+ 8. Test of VT102 features (Insert/Delete Char/Line)
+ 9. Test of known bugs
+ 10. Test of reset and self-test
+ 11. Test non-VT100 (e.g., VT220, XTERM) terminals
+ 12. Modify test-parameters
+
+ Enter choice number (0 - 12): 2
+[2J[1;1H[?7h****************************************************************************************************************************************************************[?7l[3;1H****************************************************************************************************************************************************************[?7h[5;1HThis should be three identical lines of *'s completely filling
+the top of the screen without any empty lines between.
+(Test of WRAP AROUND mode setting.)
+Push <RETURN>[2J[3g[1;1H[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[1;4H[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[1;7H[1g[2g[1;1H * * * * * * * * * * * * *[2;2H * * * * * * * * * * * * *[4;1HTest of TAB setting/resetting. These two lines
+should look the same. Push <RETURN>[?5h[?3h[2J[1;1H[3g[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[1;1H12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901[3;3HThis is 132 column mode, light background.[4;4HThis is 132 column mode, light background.[5;5HThis is 132 column mode, light background.[6;6HThis is 132 column mode, light background.[7;7HThis is 132 column mode, light background.[8;8HThis is 132 column mode, light background.[9;9HThis is 132 column mode, light background.[10;10HThis is 132 column mode, light background.[11;11HThis is 132 column mode, light background.[12;12HThis is 132 column mode, light background.[13;13HThis is 132 column mode, light background.[14;14HThis is 132 column mode, light background.[15;15HThis is 132 column mode, light background.[16;16HThis is 132 column mode, light background.[17;17HThis is 132 column mode, light background.[18;18HThis is 132 column mode, light background.[19;19HThis is 132 column mode, light background.[20;20HThis is 132 column mode, light background.Push <RETURN>[?3l[2J[1;1H1234567890123456789012345678901234567890123456789012345678901234567890123456789[3;3HThis is 80 column mode, light background.[4;4HThis is 80 column mode, light background.[5;5HThis is 80 column mode, light background.[6;6HThis is 80 column mode, light background.[7;7HThis is 80 column mode, light background.[8;8HThis is 80 column mode, light background.[9;9HThis is 80 column mode, light background.[10;10HThis is 80 column mode, light background.[11;11HThis is 80 column mode, light background.[12;12HThis is 80 column mode, light background.[13;13HThis is 80 column mode, light background.[14;14HThis is 80 column mode, light background.[15;15HThis is 80 column mode, light background.[16;16HThis is 80 column mode, light background.[17;17HThis is 80 column mode, light background.[18;18HThis is 80 column mode, light background.[19;19HThis is 80 column mode, light background.[20;20HThis is 80 column mode, light background.Push <RETURN>[?5l[?3h[2J[1;1H[3g[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[1;1H12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901[3;3HThis is 132 column mode, dark background.[4;4HThis is 132 column mode, dark background.[5;5HThis is 132 column mode, dark background.[6;6HThis is 132 column mode, dark background.[7;7HThis is 132 column mode, dark background.[8;8HThis is 132 column mode, dark background.[9;9HThis is 132 column mode, dark background.[10;10HThis is 132 column mode, dark background.[11;11HThis is 132 column mode, dark background.[12;12HThis is 132 column mode, dark background.[13;13HThis is 132 column mode, dark background.[14;14HThis is 132 column mode, dark background.[15;15HThis is 132 column mode, dark background.[16;16HThis is 132 column mode, dark background.[17;17HThis is 132 column mode, dark background.[18;18HThis is 132 column mode, dark background.[19;19HThis is 132 column mode, dark background.[20;20HThis is 132 column mode, dark background.Push <RETURN>[?3l[2J[1;1H1234567890123456789012345678901234567890123456789012345678901234567890123456789[3;3HThis is 80 column mode, dark background.[4;4HThis is 80 column mode, dark background.[5;5HThis is 80 column mode, dark background.[6;6HThis is 80 column mode, dark background.[7;7HThis is 80 column mode, dark background.[8;8HThis is 80 column mode, dark background.[9;9HThis is 80 column mode, dark background.[10;10HThis is 80 column mode, dark background.[11;11HThis is 80 column mode, dark background.[12;12HThis is 80 column mode, dark background.[13;13HThis is 80 column mode, dark background.[14;14HThis is 80 column mode, dark background.[15;15HThis is 80 column mode, dark background.[16;16HThis is 80 column mode, dark background.[17;17HThis is 80 column mode, dark background.[18;18HThis is 80 column mode, dark background.[19;19HThis is 80 column mode, dark background.[20;20HThis is 80 column mode, dark background.Push <RETURN>
\ No newline at end of file diff --git a/src/tests/fixtures/vttest2-6 b/src/tests/fixtures/vttest2-6 new file mode 100644 index 00000000..52f282e3 --- /dev/null +++ b/src/tests/fixtures/vttest2-6 @@ -0,0 +1,82 @@ +[2m⏎(B[m
⏎
[KWelcome to fish, the friendly interactive shell
+[?2004h]0;fish /home/aram/code/zellij[30m(B[m[97m[46m⋊>(B[m [33m~/c/zellij(B[m on [32mvttest-2(B[m ⨯ [K[44C[38;2;85;85;85m17:31:01(B[m
[72C
[28C
[28Cv[J[67C[38;2;85;85;85m17:31:01(B[m
[96C
[29C[91mv[67C[30m(B[m[38;2;85;85;85m17:31:01(B[m
[96C
[29C[38;2;85;85;85mttest[62C[30m(B[m[38;2;85;85;85m17:31:01(B[m
[96C
[29C[91mt[38;2;85;85;85mtest[62C[30m(B[m[38;2;85;85;85m17:31:01(B[m
[96C
[30C[91mt[38;2;85;85;85mest[62C[30m(B[m[38;2;85;85;85m17:31:01(B[m
[96C
[31C[91me[38;2;85;85;85mst[62C[30m(B[m[38;2;85;85;85m17:31:01(B[m
[96C
[32C[91ms[38;2;85;85;85mt[62C[30m(B[m[38;2;85;85;85m17:31:01(B[m
[96C
[33C[91mt[62C[30m(B[m[38;2;85;85;85m17:31:01(B[m
[96C
[34C[1mvttest[62C(B[m[38;2;85;85;85m17:31:01(B[m
[96C
[34C[62C[38;2;85;85;85m17:31:01(B[m
[96C
[34C
+[30m(B[m[?2004l]0;vttest /home/aram/code/zellij[30m(B[m
[0c[?1l[?3l[?4l[?5l[?6l[?7h[?8l[?40h[?45l[r[0m[2J[3;10HVT100 test program, version 2.7 (20210210)[4;10HLine speed 38400bd [5;10HChoose test type:
+[6;1H[0J
+ 0. Exit
+ 1. Test of cursor movements
+ 2. Test of screen features
+ 3. Test of character sets
+ 4. Test of double-sized characters
+ 5. Test of keyboard
+ 6. Test of terminal reports
+ 7. Test of VT52 mode
+ 8. Test of VT102 features (Insert/Delete Char/Line)
+ 9. Test of known bugs
+ 10. Test of reset and self-test
+ 11. Test non-VT100 (e.g., VT220, XTERM) terminals
+ 12. Modify test-parameters
+
+ Enter choice number (0 - 12): 2
+[2J[1;1H[?7h****************************************************************************************************************************************************************[?7l[3;1H****************************************************************************************************************************************************************[?7h[5;1HThis should be three identical lines of *'s completely filling
+the top of the screen without any empty lines between.
+(Test of WRAP AROUND mode setting.)
+Push <RETURN>[2J[3g[1;1H[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[1;4H[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[1;7H[1g[2g[1;1H * * * * * * * * * * * * *[2;2H * * * * * * * * * * * * *[4;1HTest of TAB setting/resetting. These two lines
+should look the same. Push <RETURN>[?5h[?3h[2J[1;1H[3g[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[1;1H12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901[3;3HThis is 132 column mode, light background.[4;4HThis is 132 column mode, light background.[5;5HThis is 132 column mode, light background.[6;6HThis is 132 column mode, light background.[7;7HThis is 132 column mode, light background.[8;8HThis is 132 column mode, light background.[9;9HThis is 132 column mode, light background.[10;10HThis is 132 column mode, light background.[11;11HThis is 132 column mode, light background.[12;12HThis is 132 column mode, light background.[13;13HThis is 132 column mode, light background.[14;14HThis is 132 column mode, light background.[15;15HThis is 132 column mode, light background.[16;16HThis is 132 column mode, light background.[17;17HThis is 132 column mode, light background.[18;18HThis is 132 column mode, light background.[19;19HThis is 132 column mode, light background.[20;20HThis is 132 column mode, light background.Push <RETURN>[?3l[2J[1;1H1234567890123456789012345678901234567890123456789012345678901234567890123456789[3;3HThis is 80 column mode, light background.[4;4HThis is 80 column mode, light background.[5;5HThis is 80 column mode, light background.[6;6HThis is 80 column mode, light background.[7;7HThis is 80 column mode, light background.[8;8HThis is 80 column mode, light background.[9;9HThis is 80 column mode, light background.[10;10HThis is 80 column mode, light background.[11;11HThis is 80 column mode, light background.[12;12HThis is 80 column mode, light background.[13;13HThis is 80 column mode, light background.[14;14HThis is 80 column mode, light background.[15;15HThis is 80 column mode, light background.[16;16HThis is 80 column mode, light background.[17;17HThis is 80 column mode, light background.[18;18HThis is 80 column mode, light background.[19;19HThis is 80 column mode, light background.[20;20HThis is 80 column mode, light background.Push <RETURN>[?5l[?3h[2J[1;1H[3g[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[1;1H12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901[3;3HThis is 132 column mode, dark background.[4;4HThis is 132 column mode, dark background.[5;5HThis is 132 column mode, dark background.[6;6HThis is 132 column mode, dark background.[7;7HThis is 132 column mode, dark background.[8;8HThis is 132 column mode, dark background.[9;9HThis is 132 column mode, dark background.[10;10HThis is 132 column mode, dark background.[11;11HThis is 132 column mode, dark background.[12;12HThis is 132 column mode, dark background.[13;13HThis is 132 column mode, dark background.[14;14HThis is 132 column mode, dark background.[15;15HThis is 132 column mode, dark background.[16;16HThis is 132 column mode, dark background.[17;17HThis is 132 column mode, dark background.[18;18HThis is 132 column mode, dark background.[19;19HThis is 132 column mode, dark background.[20;20HThis is 132 column mode, dark background.Push <RETURN>[?3l[2J[1;1H1234567890123456789012345678901234567890123456789012345678901234567890123456789[3;3HThis is 80 column mode, dark background.[4;4HThis is 80 column mode, dark background.[5;5HThis is 80 column mode, dark background.[6;6HThis is 80 column mode, dark background.[7;7HThis is 80 column mode, dark background.[8;8HThis is 80 column mode, dark background.[9;9HThis is 80 column mode, dark background.[10;10HThis is 80 column mode, dark background.[11;11HThis is 80 column mode, dark background.[12;12HThis is 80 column mode, dark background.[13;13HThis is 80 column mode, dark background.[14;14HThis is 80 column mode, dark background.[15;15HThis is 80 column mode, dark background.[16;16HThis is 80 column mode, dark background.[17;17HThis is 80 column mode, dark background.[18;18HThis is 80 column mode, dark background.[19;19HThis is 80 column mode, dark background.[20;20HThis is 80 column mode, dark background.Push <RETURN>[2J[?6h[?4h[12;13r[2J[24BSoft scroll up region [12..13] size 2 Line 1
+Soft scroll up region [12..13] size 2 Line 2
+Soft scroll up region [12..13] size 2 Line 3
+Soft scroll up region [12..13] size 2 Line 4
+Soft scroll up region [12..13] size 2 Line 5
+Soft scroll up region [12..13] size 2 Line 6
+Soft scroll up region [12..13] size 2 Line 7
+Soft scroll up region [12..13] size 2 Line 8
+Soft scroll up region [12..13] size 2 Line 9
+Soft scroll up region [12..13] size 2 Line 10
+Soft scroll up region [12..13] size 2 Line 11
+Soft scroll up region [12..13] size 2 Line 12
+Soft scroll up region [12..13] size 2 Line 13
+Soft scroll up region [12..13] size 2 Line 14
+Soft scroll up region [12..13] size 2 Line 15
+Soft scroll up region [12..13] size 2 Line 16
+Soft scroll up region [12..13] size 2 Line 17
+Soft scroll up region [12..13] size 2 Line 18
+Soft scroll up region [12..13] size 2 Line 19
+Soft scroll up region [12..13] size 2 Line 20
+Soft scroll up region [12..13] size 2 Line 21
+Soft scroll up region [12..13] size 2 Line 22
+Soft scroll up region [12..13] size 2 Line 23
+Soft scroll up region [12..13] size 2 Line 24
+Soft scroll up region [12..13] size 2 Line 25
+Soft scroll up region [12..13] size 2 Line 26
+Soft scroll up region [12..13] size 2 Line 27
+Soft scroll up region [12..13] size 2 Line 28
+Soft scroll up region [12..13] size 2 Line 29
+[24ASoft scroll down region [12..13] size 2 Line 1
+MMSoft scroll down region [12..13] size 2 Line 2
+MMSoft scroll down region [12..13] size 2 Line 3
+MMSoft scroll down region [12..13] size 2 Line 4
+MMSoft scroll down region [12..13] size 2 Line 5
+MMSoft scroll down region [12..13] size 2 Line 6
+MMSoft scroll down region [12..13] size 2 Line 7
+MMSoft scroll down region [12..13] size 2 Line 8
+MMSoft scroll down region [12..13] size 2 Line 9
+MMSoft scroll down region [12..13] size 2 Line 10
+MMSoft scroll down region [12..13] size 2 Line 11
+MMSoft scroll down region [12..13] size 2 Line 12
+MMSoft scroll down region [12..13] size 2 Line 13
+MMSoft scroll down region [12..13] size 2 Line 14
+MMSoft scroll down region [12..13] size 2 Line 15
+MMSoft scroll down region [12..13] size 2 Line 16
+MMSoft scroll down region [12..13] size 2 Line 17
+MMSoft scroll down region [12..13] size 2 Line 18
+MMSoft scroll down region [12..13] size 2 Line 19
+MMSoft scroll down region [12..13] size 2 Line 20
+MMSoft scroll down region [12..13] size 2 Line 21
+MMSoft scroll down region [12..13] size 2 Line 22
+MMSoft scroll down region [12..13] size 2 Line 23
+MMSoft scroll down region [12..13] size 2 Line 24
+MMSoft scroll down region [12..13] size 2 Line 25
+MMSoft scroll down region [12..13] size 2 Line 26
+MMSoft scroll down region [12..13] size 2 Line 27
+MMSoft scroll down region [12..13] size 2 Line 28
+MMSoft scroll down region [12..13] size 2 Line 29
+MMPush <RETURN>
\ No newline at end of file diff --git a/src/tests/fixtures/vttest2-7 b/src/tests/fixtures/vttest2-7 new file mode 100644 index 00000000..2ddf5a9a --- /dev/null +++ b/src/tests/fixtures/vttest2-7 @@ -0,0 +1,140 @@ +[2m⏎(B[m
⏎
[KWelcome to fish, the friendly interactive shell
+[?2004h]0;fish /home/aram/code/zellij[30m(B[m[97m[46m⋊>(B[m [33m~/c/zellij(B[m on [32mvttest-2(B[m ⨯ [K[44C[38;2;85;85;85m17:32:27(B[m
[72C
[28C
[28Cv[J[67C[38;2;85;85;85m17:32:27(B[m
[96C
[29C[91mv[67C[30m(B[m[38;2;85;85;85m17:32:27(B[m
[96C
[29C[38;2;85;85;85mttest[62C[30m(B[m[38;2;85;85;85m17:32:27(B[m
[96C
[29C[91mt[38;2;85;85;85mtest[62C[30m(B[m[38;2;85;85;85m17:32:27(B[m
[96C
[30C[91mt[38;2;85;85;85mest[62C[30m(B[m[38;2;85;85;85m17:32:27(B[m
[96C
[31C[91me[38;2;85;85;85mst[62C[30m(B[m[38;2;85;85;85m17:32:27(B[m
[96C
[32C[91ms[38;2;85;85;85mt[62C[30m(B[m[38;2;85;85;85m17:32:27(B[m
[96C
[33C[91mt[62C[30m(B[m[38;2;85;85;85m17:32:27(B[m
[96C
[34C[1mvttest[62C(B[m[38;2;85;85;85m17:32:27(B[m
[96C
[34C[62C[38;2;85;85;85m17:32:27(B[m
[96C
[34C
+[30m(B[m[?2004l]0;vttest /home/aram/code/zellij[30m(B[m
[0c[?1l[?3l[?4l[?5l[?6l[?7h[?8l[?40h[?45l[r[0m[2J[3;10HVT100 test program, version 2.7 (20210210)[4;10HLine speed 38400bd [5;10HChoose test type:
+[6;1H[0J
+ 0. Exit
+ 1. Test of cursor movements
+ 2. Test of screen features
+ 3. Test of character sets
+ 4. Test of double-sized characters
+ 5. Test of keyboard
+ 6. Test of terminal reports
+ 7. Test of VT52 mode
+ 8. Test of VT102 features (Insert/Delete Char/Line)
+ 9. Test of known bugs
+ 10. Test of reset and self-test
+ 11. Test non-VT100 (e.g., VT220, XTERM) terminals
+ 12. Modify test-parameters
+
+ Enter choice number (0 - 12): 2
+[2J[1;1H[?7h****************************************************************************************************************************************************************[?7l[3;1H****************************************************************************************************************************************************************[?7h[5;1HThis should be three identical lines of *'s completely filling
+the top of the screen without any empty lines between.
+(Test of WRAP AROUND mode setting.)
+Push <RETURN>[2J[3g[1;1H[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[1;4H[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[1;7H[1g[2g[1;1H * * * * * * * * * * * * *[2;2H * * * * * * * * * * * * *[4;1HTest of TAB setting/resetting. These two lines
+should look the same. Push <RETURN>[?5h[?3h[2J[1;1H[3g[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[1;1H12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901[3;3HThis is 132 column mode, light background.[4;4HThis is 132 column mode, light background.[5;5HThis is 132 column mode, light background.[6;6HThis is 132 column mode, light background.[7;7HThis is 132 column mode, light background.[8;8HThis is 132 column mode, light background.[9;9HThis is 132 column mode, light background.[10;10HThis is 132 column mode, light background.[11;11HThis is 132 column mode, light background.[12;12HThis is 132 column mode, light background.[13;13HThis is 132 column mode, light background.[14;14HThis is 132 column mode, light background.[15;15HThis is 132 column mode, light background.[16;16HThis is 132 column mode, light background.[17;17HThis is 132 column mode, light background.[18;18HThis is 132 column mode, light background.[19;19HThis is 132 column mode, light background.[20;20HThis is 132 column mode, light background.Push <RETURN>[?3l[2J[1;1H1234567890123456789012345678901234567890123456789012345678901234567890123456789[3;3HThis is 80 column mode, light background.[4;4HThis is 80 column mode, light background.[5;5HThis is 80 column mode, light background.[6;6HThis is 80 column mode, light background.[7;7HThis is 80 column mode, light background.[8;8HThis is 80 column mode, light background.[9;9HThis is 80 column mode, light background.[10;10HThis is 80 column mode, light background.[11;11HThis is 80 column mode, light background.[12;12HThis is 80 column mode, light background.[13;13HThis is 80 column mode, light background.[14;14HThis is 80 column mode, light background.[15;15HThis is 80 column mode, light background.[16;16HThis is 80 column mode, light background.[17;17HThis is 80 column mode, light background.[18;18HThis is 80 column mode, light background.[19;19HThis is 80 column mode, light background.[20;20HThis is 80 column mode, light background.Push <RETURN>[?5l[?3h[2J[1;1H[3g[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[1;1H12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901[3;3HThis is 132 column mode, dark background.[4;4HThis is 132 column mode, dark background.[5;5HThis is 132 column mode, dark background.[6;6HThis is 132 column mode, dark background.[7;7HThis is 132 column mode, dark background.[8;8HThis is 132 column mode, dark background.[9;9HThis is 132 column mode, dark background.[10;10HThis is 132 column mode, dark background.[11;11HThis is 132 column mode, dark background.[12;12HThis is 132 column mode, dark background.[13;13HThis is 132 column mode, dark background.[14;14HThis is 132 column mode, dark background.[15;15HThis is 132 column mode, dark background.[16;16HThis is 132 column mode, dark background.[17;17HThis is 132 column mode, dark background.[18;18HThis is 132 column mode, dark background.[19;19HThis is 132 column mode, dark background.[20;20HThis is 132 column mode, dark background.Push <RETURN>[?3l[2J[1;1H1234567890123456789012345678901234567890123456789012345678901234567890123456789[3;3HThis is 80 column mode, dark background.[4;4HThis is 80 column mode, dark background.[5;5HThis is 80 column mode, dark background.[6;6HThis is 80 column mode, dark background.[7;7HThis is 80 column mode, dark background.[8;8HThis is 80 column mode, dark background.[9;9HThis is 80 column mode, dark background.[10;10HThis is 80 column mode, dark background.[11;11HThis is 80 column mode, dark background.[12;12HThis is 80 column mode, dark background.[13;13HThis is 80 column mode, dark background.[14;14HThis is 80 column mode, dark background.[15;15HThis is 80 column mode, dark background.[16;16HThis is 80 column mode, dark background.[17;17HThis is 80 column mode, dark background.[18;18HThis is 80 column mode, dark background.[19;19HThis is 80 column mode, dark background.[20;20HThis is 80 column mode, dark background.Push <RETURN>[2J[?6h[?4h[12;13r[2J[24BSoft scroll up region [12..13] size 2 Line 1
+Soft scroll up region [12..13] size 2 Line 2
+Soft scroll up region [12..13] size 2 Line 3
+Soft scroll up region [12..13] size 2 Line 4
+Soft scroll up region [12..13] size 2 Line 5
+Soft scroll up region [12..13] size 2 Line 6
+Soft scroll up region [12..13] size 2 Line 7
+Soft scroll up region [12..13] size 2 Line 8
+Soft scroll up region [12..13] size 2 Line 9
+Soft scroll up region [12..13] size 2 Line 10
+Soft scroll up region [12..13] size 2 Line 11
+Soft scroll up region [12..13] size 2 Line 12
+Soft scroll up region [12..13] size 2 Line 13
+Soft scroll up region [12..13] size 2 Line 14
+Soft scroll up region [12..13] size 2 Line 15
+Soft scroll up region [12..13] size 2 Line 16
+Soft scroll up region [12..13] size 2 Line 17
+Soft scroll up region [12..13] size 2 Line 18
+Soft scroll up region [12..13] size 2 Line 19
+Soft scroll up region [12..13] size 2 Line 20
+Soft scroll up region [12..13] size 2 Line 21
+Soft scroll up region [12..13] size 2 Line 22
+Soft scroll up region [12..13] size 2 Line 23
+Soft scroll up region [12..13] size 2 Line 24
+Soft scroll up region [12..13] size 2 Line 25
+Soft scroll up region [12..13] size 2 Line 26
+Soft scroll up region [12..13] size 2 Line 27
+Soft scroll up region [12..13] size 2 Line 28
+Soft scroll up region [12..13] size 2 Line 29
+[24ASoft scroll down region [12..13] size 2 Line 1
+MMSoft scroll down region [12..13] size 2 Line 2
+MMSoft scroll down region [12..13] size 2 Line 3
+MMSoft scroll down region [12..13] size 2 Line 4
+MMSoft scroll down region [12..13] size 2 Line 5
+MMSoft scroll down region [12..13] size 2 Line 6
+MMSoft scroll down region [12..13] size 2 Line 7
+MMSoft scroll down region [12..13] size 2 Line 8
+MMSoft scroll down region [12..13] size 2 Line 9
+MMSoft scroll down region [12..13] size 2 Line 10
+MMSoft scroll down region [12..13] size 2 Line 11
+MMSoft scroll down region [12..13] size 2 Line 12
+MMSoft scroll down region [12..13] size 2 Line 13
+MMSoft scroll down region [12..13] size 2 Line 14
+MMSoft scroll down region [12..13] size 2 Line 15
+MMSoft scroll down region [12..13] size 2 Line 16
+MMSoft scroll down region [12..13] size 2 Line 17
+MMSoft scroll down region [12..13] size 2 Line 18
+MMSoft scroll down region [12..13] size 2 Line 19
+MMSoft scroll down region [12..13] size 2 Line 20
+MMSoft scroll down region [12..13] size 2 Line 21
+MMSoft scroll down region [12..13] size 2 Line 22
+MMSoft scroll down region [12..13] size 2 Line 23
+MMSoft scroll down region [12..13] size 2 Line 24
+MMSoft scroll down region [12..13] size 2 Line 25
+MMSoft scroll down region [12..13] size 2 Line 26
+MMSoft scroll down region [12..13] size 2 Line 27
+MMSoft scroll down region [12..13] size 2 Line 28
+MMSoft scroll down region [12..13] size 2 Line 29
+MMPush <RETURN>[1;24r[2J[24BSoft scroll up region [1..24] size 24 Line 1
+Soft scroll up region [1..24] size 24 Line 2
+Soft scroll up region [1..24] size 24 Line 3
+Soft scroll up region [1..24] size 24 Line 4
+Soft scroll up region [1..24] size 24 Line 5
+Soft scroll up region [1..24] size 24 Line 6
+Soft scroll up region [1..24] size 24 Line 7
+Soft scroll up region [1..24] size 24 Line 8
+Soft scroll up region [1..24] size 24 Line 9
+Soft scroll up region [1..24] size 24 Line 10
+Soft scroll up region [1..24] size 24 Line 11
+Soft scroll up region [1..24] size 24 Line 12
+Soft scroll up region [1..24] size 24 Line 13
+Soft scroll up region [1..24] size 24 Line 14
+Soft scroll up region [1..24] size 24 Line 15
+Soft scroll up region [1..24] size 24 Line 16
+Soft scroll up region [1..24] size 24 Line 17
+Soft scroll up region [1..24] size 24 Line 18
+Soft scroll up region [1..24] size 24 Line 19
+Soft scroll up region [1..24] size 24 Line 20
+Soft scroll up region [1..24] size 24 Line 21
+Soft scroll up region [1..24] size 24 Line 22
+Soft scroll up region [1..24] size 24 Line 23
+Soft scroll up region [1..24] size 24 Line 24
+Soft scroll up region [1..24] size 24 Line 25
+Soft scroll up region [1..24] size 24 Line 26
+Soft scroll up region [1..24] size 24 Line 27
+Soft scroll up region [1..24] size 24 Line 28
+Soft scroll up region [1..24] size 24 Line 29
+[24ASoft scroll down region [1..24] size 24 Line 1
+MMSoft scroll down region [1..24] size 24 Line 2
+MMSoft scroll down region [1..24] size 24 Line 3
+MMSoft scroll down region [1..24] size 24 Line 4
+MMSoft scroll down region [1..24] size 24 Line 5
+MMSoft scroll down region [1..24] size 24 Line 6
+MMSoft scroll down region [1..24] size 24 Line 7
+MMSoft scroll down region [1..24] size 24 Line 8
+MMSoft scroll down region [1..24] size 24 Line 9
+MMSoft scroll down region [1..24] size 24 Line 10
+MMSoft scroll down region [1..24] size 24 Line 11
+MMSoft scroll down region [1..24] size 24 Line 12
+MMSoft scroll down region [1..24] size 24 Line 13
+MMSoft scroll down region [1..24] size 24 Line 14
+MMSoft scroll down region [1..24] size 24 Line 15
+MMSoft scroll down region [1..24] size 24 Line 16
+MMSoft scroll down region [1..24] size 24 Line 17
+MMSoft scroll down region [1..24] size 24 Line 18
+MMSoft scroll down region [1..24] size 24 Line 19
+MMSoft scroll down region [1..24] size 24 Line 20
+MMSoft scroll down region [1..24] size 24 Line 21
+MMSoft scroll down region [1..24] size 24 Line 22
+MMSoft scroll down region [1..24] size 24 Line 23
+MMSoft scroll down region [1..24] size 24 Line 24
+MMSoft scroll down region [1..24] size 24 Line 25
+MMSoft scroll down region [1..24] size 24 Line 26
+MMSoft scroll down region [1..24] size 24 Line 27
+MMSoft scroll down region [1..24] size 24 Line 28
+MMSoft scroll down region [1..24] size 24 Line 29
+MMPush <RETURN>
\ No newline at end of file diff --git a/src/tests/fixtures/vttest2-8 b/src/tests/fixtures/vttest2-8 new file mode 100644 index 00000000..2c9d7f00 --- /dev/null +++ b/src/tests/fixtures/vttest2-8 @@ -0,0 +1,198 @@ +[2m⏎(B[m
⏎
[KWelcome to fish, the friendly interactive shell
+[?2004h]0;fish /home/aram/code/zellij[30m(B[m[97m[46m⋊>(B[m [33m~/c/zellij(B[m on [32mvttest-2(B[m ⨯ [K[44C[38;2;85;85;85m17:34:10(B[m
[72C
[28C
[28Cv[J[67C[38;2;85;85;85m17:34:10(B[m
[96C
[29C[91mv[67C[30m(B[m[38;2;85;85;85m17:34:10(B[m
[96C
[29C[38;2;85;85;85mttest[62C[30m(B[m[38;2;85;85;85m17:34:10(B[m
[96C
[29C[91mt[38;2;85;85;85mtest[62C[30m(B[m[38;2;85;85;85m17:34:10(B[m
[96C
[30C[91mt[38;2;85;85;85mest[62C[30m(B[m[38;2;85;85;85m17:34:10(B[m
[96C
[31C[91me[38;2;85;85;85mst[62C[30m(B[m[38;2;85;85;85m17:34:10(B[m
[96C
[32C[91ms[38;2;85;85;85mt[62C[30m(B[m[38;2;85;85;85m17:34:10(B[m
[96C
[33C[91mt[62C[30m(B[m[38;2;85;85;85m17:34:10(B[m
[96C
[34C[1mvttest[62C(B[m[38;2;85;85;85m17:34:10(B[m
[96C
[34C[62C[38;2;85;85;85m17:34:10(B[m
[96C
[34C
+[30m(B[m[?2004l]0;vttest /home/aram/code/zellij[30m(B[m
[0c[?1l[?3l[?4l[?5l[?6l[?7h[?8l[?40h[?45l[r[0m[2J[3;10HVT100 test program, version 2.7 (20210210)[4;10HLine speed 38400bd [5;10HChoose test type:
+[6;1H[0J
+ 0. Exit
+ 1. Test of cursor movements
+ 2. Test of screen features
+ 3. Test of character sets
+ 4. Test of double-sized characters
+ 5. Test of keyboard
+ 6. Test of terminal reports
+ 7. Test of VT52 mode
+ 8. Test of VT102 features (Insert/Delete Char/Line)
+ 9. Test of known bugs
+ 10. Test of reset and self-test
+ 11. Test non-VT100 (e.g., VT220, XTERM) terminals
+ 12. Modify test-parameters
+
+ Enter choice number (0 - 12): 2
+[2J[1;1H[?7h****************************************************************************************************************************************************************[?7l[3;1H****************************************************************************************************************************************************************[?7h[5;1HThis should be three identical lines of *'s completely filling
+the top of the screen without any empty lines between.
+(Test of WRAP AROUND mode setting.)
+Push <RETURN>[2J[3g[1;1H[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[1;4H[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[1;7H[1g[2g[1;1H * * * * * * * * * * * * *[2;2H * * * * * * * * * * * * *[4;1HTest of TAB setting/resetting. These two lines
+should look the same. Push <RETURN>[?5h[?3h[2J[1;1H[3g[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[1;1H12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901[3;3HThis is 132 column mode, light background.[4;4HThis is 132 column mode, light background.[5;5HThis is 132 column mode, light background.[6;6HThis is 132 column mode, light background.[7;7HThis is 132 column mode, light background.[8;8HThis is 132 column mode, light background.[9;9HThis is 132 column mode, light background.[10;10HThis is 132 column mode, light background.[11;11HThis is 132 column mode, light background.[12;12HThis is 132 column mode, light background.[13;13HThis is 132 column mode, light background.[14;14HThis is 132 column mode, light background.[15;15HThis is 132 column mode, light background.[16;16HThis is 132 column mode, light background.[17;17HThis is 132 column mode, light background.[18;18HThis is 132 column mode, light background.[19;19HThis is 132 column mode, light background.[20;20HThis is 132 column mode, light background.Push <RETURN>[?3l[2J[1;1H1234567890123456789012345678901234567890123456789012345678901234567890123456789[3;3HThis is 80 column mode, light background.[4;4HThis is 80 column mode, light background.[5;5HThis is 80 column mode, light background.[6;6HThis is 80 column mode, light background.[7;7HThis is 80 column mode, light background.[8;8HThis is 80 column mode, light background.[9;9HThis is 80 column mode, light background.[10;10HThis is 80 column mode, light background.[11;11HThis is 80 column mode, light background.[12;12HThis is 80 column mode, light background.[13;13HThis is 80 column mode, light background.[14;14HThis is 80 column mode, light background.[15;15HThis is 80 column mode, light background.[16;16HThis is 80 column mode, light background.[17;17HThis is 80 column mode, light background.[18;18HThis is 80 column mode, light background.[19;19HThis is 80 column mode, light background.[20;20HThis is 80 column mode, light background.Push <RETURN>[?5l[?3h[2J[1;1H[3g[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[1;1H12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901[3;3HThis is 132 column mode, dark background.[4;4HThis is 132 column mode, dark background.[5;5HThis is 132 column mode, dark background.[6;6HThis is 132 column mode, dark background.[7;7HThis is 132 column mode, dark background.[8;8HThis is 132 column mode, dark background.[9;9HThis is 132 column mode, dark background.[10;10HThis is 132 column mode, dark background.[11;11HThis is 132 column mode, dark background.[12;12HThis is 132 column mode, dark background.[13;13HThis is 132 column mode, dark background.[14;14HThis is 132 column mode, dark background.[15;15HThis is 132 column mode, dark background.[16;16HThis is 132 column mode, dark background.[17;17HThis is 132 column mode, dark background.[18;18HThis is 132 column mode, dark background.[19;19HThis is 132 column mode, dark background.[20;20HThis is 132 column mode, dark background.Push <RETURN>[?3l[2J[1;1H1234567890123456789012345678901234567890123456789012345678901234567890123456789[3;3HThis is 80 column mode, dark background.[4;4HThis is 80 column mode, dark background.[5;5HThis is 80 column mode, dark background.[6;6HThis is 80 column mode, dark background.[7;7HThis is 80 column mode, dark background.[8;8HThis is 80 column mode, dark background.[9;9HThis is 80 column mode, dark background.[10;10HThis is 80 column mode, dark background.[11;11HThis is 80 column mode, dark background.[12;12HThis is 80 column mode, dark background.[13;13HThis is 80 column mode, dark background.[14;14HThis is 80 column mode, dark background.[15;15HThis is 80 column mode, dark background.[16;16HThis is 80 column mode, dark background.[17;17HThis is 80 column mode, dark background.[18;18HThis is 80 column mode, dark background.[19;19HThis is 80 column mode, dark background.[20;20HThis is 80 column mode, dark background.Push <RETURN>[2J[?6h[?4h[12;13r[2J[24BSoft scroll up region [12..13] size 2 Line 1
+Soft scroll up region [12..13] size 2 Line 2
+Soft scroll up region [12..13] size 2 Line 3
+Soft scroll up region [12..13] size 2 Line 4
+Soft scroll up region [12..13] size 2 Line 5
+Soft scroll up region [12..13] size 2 Line 6
+Soft scroll up region [12..13] size 2 Line 7
+Soft scroll up region [12..13] size 2 Line 8
+Soft scroll up region [12..13] size 2 Line 9
+Soft scroll up region [12..13] size 2 Line 10
+Soft scroll up region [12..13] size 2 Line 11
+Soft scroll up region [12..13] size 2 Line 12
+Soft scroll up region [12..13] size 2 Line 13
+Soft scroll up region [12..13] size 2 Line 14
+Soft scroll up region [12..13] size 2 Line 15
+Soft scroll up region [12..13] size 2 Line 16
+Soft scroll up region [12..13] size 2 Line 17
+Soft scroll up region [12..13] size 2 Line 18
+Soft scroll up region [12..13] size 2 Line 19
+Soft scroll up region [12..13] size 2 Line 20
+Soft scroll up region [12..13] size 2 Line 21
+Soft scroll up region [12..13] size 2 Line 22
+Soft scroll up region [12..13] size 2 Line 23
+Soft scroll up region [12..13] size 2 Line 24
+Soft scroll up region [12..13] size 2 Line 25
+Soft scroll up region [12..13] size 2 Line 26
+Soft scroll up region [12..13] size 2 Line 27
+Soft scroll up region [12..13] size 2 Line 28
+Soft scroll up region [12..13] size 2 Line 29
+[24ASoft scroll down region [12..13] size 2 Line 1
+MMSoft scroll down region [12..13] size 2 Line 2
+MMSoft scroll down region [12..13] size 2 Line 3
+MMSoft scroll down region [12..13] size 2 Line 4
+MMSoft scroll down region [12..13] size 2 Line 5
+MMSoft scroll down region [12..13] size 2 Line 6
+MMSoft scroll down region [12..13] size 2 Line 7
+MMSoft scroll down region [12..13] size 2 Line 8
+MMSoft scroll down region [12..13] size 2 Line 9
+MMSoft scroll down region [12..13] size 2 Line 10
+MMSoft scroll down region [12..13] size 2 Line 11
+MMSoft scroll down region [12..13] size 2 Line 12
+MMSoft scroll down region [12..13] size 2 Line 13
+MMSoft scroll down region [12..13] size 2 Line 14
+MMSoft scroll down region [12..13] size 2 Line 15
+MMSoft scroll down region [12..13] size 2 Line 16
+MMSoft scroll down region [12..13] size 2 Line 17
+MMSoft scroll down region [12..13] size 2 Line 18
+MMSoft scroll down region [12..13] size 2 Line 19
+MMSoft scroll down region [12..13] size 2 Line 20
+MMSoft scroll down region [12..13] size 2 Line 21
+MMSoft scroll down region [12..13] size 2 Line 22
+MMSoft scroll down region [12..13] size 2 Line 23
+MMSoft scroll down region [12..13] size 2 Line 24
+MMSoft scroll down region [12..13] size 2 Line 25
+MMSoft scroll down region [12..13] size 2 Line 26
+MMSoft scroll down region [12..13] size 2 Line 27
+MMSoft scroll down region [12..13] size 2 Line 28
+MMSoft scroll down region [12..13] size 2 Line 29
+MMPush <RETURN>[1;24r[2J[24BSoft scroll up region [1..24] size 24 Line 1
+Soft scroll up region [1..24] size 24 Line 2
+Soft scroll up region [1..24] size 24 Line 3
+Soft scroll up region [1..24] size 24 Line 4
+Soft scroll up region [1..24] size 24 Line 5
+Soft scroll up region [1..24] size 24 Line 6
+Soft scroll up region [1..24] size 24 Line 7
+Soft scroll up region [1..24] size 24 Line 8
+Soft scroll up region [1..24] size 24 Line 9
+Soft scroll up region [1..24] size 24 Line 10
+Soft scroll up region [1..24] size 24 Line 11
+Soft scroll up region [1..24] size 24 Line 12
+Soft scroll up region [1..24] size 24 Line 13
+Soft scroll up region [1..24] size 24 Line 14
+Soft scroll up region [1..24] size 24 Line 15
+Soft scroll up region [1..24] size 24 Line 16
+Soft scroll up region [1..24] size 24 Line 17
+Soft scroll up region [1..24] size 24 Line 18
+Soft scroll up region [1..24] size 24 Line 19
+Soft scroll up region [1..24] size 24 Line 20
+Soft scroll up region [1..24] size 24 Line 21
+Soft scroll up region [1..24] size 24 Line 22
+Soft scroll up region [1..24] size 24 Line 23
+Soft scroll up region [1..24] size 24 Line 24
+Soft scroll up region [1..24] size 24 Line 25
+Soft scroll up region [1..24] size 24 Line 26
+Soft scroll up region [1..24] size 24 Line 27
+Soft scroll up region [1..24] size 24 Line 28
+Soft scroll up region [1..24] size 24 Line 29
+[24ASoft scroll down region [1..24] size 24 Line 1
+MMSoft scroll down region [1..24] size 24 Line 2
+MMSoft scroll down region [1..24] size 24 Line 3
+MMSoft scroll down region [1..24] size 24 Line 4
+MMSoft scroll down region [1..24] size 24 Line 5
+MMSoft scroll down region [1..24] size 24 Line 6
+MMSoft scroll down region [1..24] size 24 Line 7
+MMSoft scroll down region [1..24] size 24 Line 8
+MMSoft scroll down region [1..24] size 24 Line 9
+MMSoft scroll down region [1..24] size 24 Line 10
+MMSoft scroll down region [1..24] size 24 Line 11
+MMSoft scroll down region [1..24] size 24 Line 12
+MMSoft scroll down region [1..24] size 24 Line 13
+MMSoft scroll down region [1..24] size 24 Line 14
+MMSoft scroll down region [1..24] size 24 Line 15
+MMSoft scroll down region [1..24] size 24 Line 16
+MMSoft scroll down region [1..24] size 24 Line 17
+MMSoft scroll down region [1..24] size 24 Line 18
+MMSoft scroll down region [1..24] size 24 Line 19
+MMSoft scroll down region [1..24] size 24 Line 20
+MMSoft scroll down region [1..24] size 24 Line 21
+MMSoft scroll down region [1..24] size 24 Line 22
+MMSoft scroll down region [1..24] size 24 Line 23
+MMSoft scroll down region [1..24] size 24 Line 24
+MMSoft scroll down region [1..24] size 24 Line 25
+MMSoft scroll down region [1..24] size 24 Line 26
+MMSoft scroll down region [1..24] size 24 Line 27
+MMSoft scroll down region [1..24] size 24 Line 28
+MMSoft scroll down region [1..24] size 24 Line 29
+MMPush <RETURN>[?4l[12;13r[2J[24BJump scroll up region [12..13] size 2 Line 1
+Jump scroll up region [12..13] size 2 Line 2
+Jump scroll up region [12..13] size 2 Line 3
+Jump scroll up region [12..13] size 2 Line 4
+Jump scroll up region [12..13] size 2 Line 5
+Jump scroll up region [12..13] size 2 Line 6
+Jump scroll up region [12..13] size 2 Line 7
+Jump scroll up region [12..13] size 2 Line 8
+Jump scroll up region [12..13] size 2 Line 9
+Jump scroll up region [12..13] size 2 Line 10
+Jump scroll up region [12..13] size 2 Line 11
+Jump scroll up region [12..13] size 2 Line 12
+Jump scroll up region [12..13] size 2 Line 13
+Jump scroll up region [12..13] size 2 Line 14
+Jump scroll up region [12..13] size 2 Line 15
+Jump scroll up region [12..13] size 2 Line 16
+Jump scroll up region [12..13] size 2 Line 17
+Jump scroll up region [12..13] size 2 Line 18
+Jump scroll up region [12..13] size 2 Line 19
+Jump scroll up region [12..13] size 2 Line 20
+Jump scroll up region [12..13] size 2 Line 21
+Jump scroll up region [12..13] size 2 Line 22
+Jump scroll up region [12..13] size 2 Line 23
+Jump scroll up region [12..13] size 2 Line 24
+Jump scroll up region [12..13] size 2 Line 25
+Jump scroll up region [12..13] size 2 Line 26
+Jump scroll up region [12..13] size 2 Line 27
+Jump scroll up region [12..13] size 2 Line 28
+Jump scroll up region [12..13] size 2 Line 29
+[24AJump scroll down region [12..13] size 2 Line 1
+MMJump scroll down region [12..13] size 2 Line 2
+MMJump scroll down region [12..13] size 2 Line 3
+MMJump scroll down region [12..13] size 2 Line 4
+MMJump scroll down region [12..13] size 2 Line 5
+MMJump scroll down region [12..13] size 2 Line 6
+MMJump scroll down region [12..13] size 2 Line 7
+MMJump scroll down region [12..13] size 2 Line 8
+MMJump scroll down region [12..13] size 2 Line 9
+MMJump scroll down region [12..13] size 2 Line 10
+MMJump scroll down region [12..13] size 2 Line 11
+MMJump scroll down region [12..13] size 2 Line 12
+MMJump scroll down region [12..13] size 2 Line 13
+MMJump scroll down region [12..13] size 2 Line 14
+MMJump scroll down region [12..13] size 2 Line 15
+MMJump scroll down region [12..13] size 2 Line 16
+MMJump scroll down region [12..13] size 2 Line 17
+MMJump scroll down region [12..13] size 2 Line 18
+MMJump scroll down region [12..13] size 2 Line 19
+MMJump scroll down region [12..13] size 2 Line 20
+MMJump scroll down region [12..13] size 2 Line 21
+MMJump scroll down region [12..13] size 2 Line 22
+MMJump scroll down region [12..13] size 2 Line 23
+MMJump scroll down region [12..13] size 2 Line 24
+MMJump scroll down region [12..13] size 2 Line 25
+MMJump scroll down region [12..13] size 2 Line 26
+MMJump scroll down region [12..13] size 2 Line 27
+MMJump scroll down region [12..13] size 2 Line 28
+MMJump scroll down region [12..13] size 2 Line 29
+MMPush <RETURN>
\ No newline at end of file diff --git a/src/tests/fixtures/vttest2-9 b/src/tests/fixtures/vttest2-9 new file mode 100644 index 00000000..0ecea59f --- /dev/null +++ b/src/tests/fixtures/vttest2-9 @@ -0,0 +1,256 @@ +[2m⏎(B[m
⏎
[KWelcome to fish, the friendly interactive shell
+[?2004h]0;fish /home/aram/code/zellij[30m(B[m[97m[46m⋊>(B[m [33m~/c/zellij(B[m on [32mvttest-2(B[m ⨯ [K[44C[38;2;85;85;85m17:34:51(B[m
[72C
[28C
[28Cv[J[67C[38;2;85;85;85m17:34:51(B[m
[96C
[29C[91mv[67C[30m(B[m[38;2;85;85;85m17:34:51(B[m
[96C
[29C[38;2;85;85;85mttest[62C[30m(B[m[38;2;85;85;85m17:34:51(B[m
[96C
[29C[91mt[38;2;85;85;85mtest[62C[30m(B[m[38;2;85;85;85m17:34:51(B[m
[96C
[30C[91mt[38;2;85;85;85mest[62C[30m(B[m[38;2;85;85;85m17:34:51(B[m
[96C
[31C[91me[38;2;85;85;85mst[62C[30m(B[m[38;2;85;85;85m17:34:51(B[m
[96C
[32C[91ms[38;2;85;85;85mt[62C[30m(B[m[38;2;85;85;85m17:34:51(B[m
[96C
[33C[91mt[62C[30m(B[m[38;2;85;85;85m17:34:51(B[m
[96C
[34C[1mvttest[62C(B[m[38;2;85;85;85m17:34:51(B[m
[96C
[34C[62C[38;2;85;85;85m17:34:51(B[m
[96C
[34C
+[30m(B[m[?2004l]0;vttest /home/aram/code/zellij[30m(B[m
[0c[?1l[?3l[?4l[?5l[?6l[?7h[?8l[?40h[?45l[r[0m[2J[3;10HVT100 test program, version 2.7 (20210210)[4;10HLine speed 38400bd [5;10HChoose test type:
+[6;1H[0J
+ 0. Exit
+ 1. Test of cursor movements
+ 2. Test of screen features
+ 3. Test of character sets
+ 4. Test of double-sized characters
+ 5. Test of keyboard
+ 6. Test of terminal reports
+ 7. Test of VT52 mode
+ 8. Test of VT102 features (Insert/Delete Char/Line)
+ 9. Test of known bugs
+ 10. Test of reset and self-test
+ 11. Test non-VT100 (e.g., VT220, XTERM) terminals
+ 12. Modify test-parameters
+
+ Enter choice number (0 - 12): 2
+[2J[1;1H[?7h****************************************************************************************************************************************************************[?7l[3;1H****************************************************************************************************************************************************************[?7h[5;1HThis should be three identical lines of *'s completely filling
+the top of the screen without any empty lines between.
+(Test of WRAP AROUND mode setting.)
+Push <RETURN>[2J[3g[1;1H[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[3CH[1;4H[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[0g[6C[1;7H[1g[2g[1;1H * * * * * * * * * * * * *[2;2H * * * * * * * * * * * * *[4;1HTest of TAB setting/resetting. These two lines
+should look the same. Push <RETURN>[?5h[?3h[2J[1;1H[3g[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[1;1H12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901[3;3HThis is 132 column mode, light background.[4;4HThis is 132 column mode, light background.[5;5HThis is 132 column mode, light background.[6;6HThis is 132 column mode, light background.[7;7HThis is 132 column mode, light background.[8;8HThis is 132 column mode, light background.[9;9HThis is 132 column mode, light background.[10;10HThis is 132 column mode, light background.[11;11HThis is 132 column mode, light background.[12;12HThis is 132 column mode, light background.[13;13HThis is 132 column mode, light background.[14;14HThis is 132 column mode, light background.[15;15HThis is 132 column mode, light background.[16;16HThis is 132 column mode, light background.[17;17HThis is 132 column mode, light background.[18;18HThis is 132 column mode, light background.[19;19HThis is 132 column mode, light background.[20;20HThis is 132 column mode, light background.Push <RETURN>[?3l[2J[1;1H1234567890123456789012345678901234567890123456789012345678901234567890123456789[3;3HThis is 80 column mode, light background.[4;4HThis is 80 column mode, light background.[5;5HThis is 80 column mode, light background.[6;6HThis is 80 column mode, light background.[7;7HThis is 80 column mode, light background.[8;8HThis is 80 column mode, light background.[9;9HThis is 80 column mode, light background.[10;10HThis is 80 column mode, light background.[11;11HThis is 80 column mode, light background.[12;12HThis is 80 column mode, light background.[13;13HThis is 80 column mode, light background.[14;14HThis is 80 column mode, light background.[15;15HThis is 80 column mode, light background.[16;16HThis is 80 column mode, light background.[17;17HThis is 80 column mode, light background.[18;18HThis is 80 column mode, light background.[19;19HThis is 80 column mode, light background.[20;20HThis is 80 column mode, light background.Push <RETURN>[?5l[?3h[2J[1;1H[3g[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[8CH[1;1H12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901[3;3HThis is 132 column mode, dark background.[4;4HThis is 132 column mode, dark background.[5;5HThis is 132 column mode, dark background.[6;6HThis is 132 column mode, dark background.[7;7HThis is 132 column mode, dark background.[8;8HThis is 132 column mode, dark background.[9;9HThis is 132 column mode, dark background.[10;10HThis is 132 column mode, dark background.[11;11HThis is 132 column mode, dark background.[12;12HThis is 132 column mode, dark background.[13;13HThis is 132 column mode, dark background.[14;14HThis is 132 column mode, dark background.[15;15HThis is 132 column mode, dark background.[16;16HThis is 132 column mode, dark background.[17;17HThis is 132 column mode, dark background.[18;18HThis is 132 column mode, dark background.[19;19HThis is 132 column mode, dark background.[20;20HThis is 132 column mode, dark background.Push <RETURN>[?3l[2J[1;1H1234567890123456789012345678901234567890123456789012345678901234567890123456789[3;3HThis is 80 column mode, dark background.[4;4HThis is 80 column mode, dark background.[5;5HThis is 80 column mode, dark background.[6;6HThis is 80 column mode, dark background.[7;7HThis is 80 column mode, dark background.[8;8HThis is 80 column mode, dark background.[9;9HThis is 80 column mode, dark background.[10;10HThis is 80 column mode, dark background.[11;11HThis is 80 column mode, dark background.[12;12HThis is 80 column mode, dark background.[13;13HThis is 80 column mode, dark background.[14;14HThis is 80 column mode, dark background.[15;15HThis is 80 column mode, dark background.[16;16HThis is 80 column mode, dark background.[17;17HThis is 80 column mode, dark background.[18;18HThis is 80 column mode, dark background.[19;19HThis is 80 column mode, dark background.[20;20HThis is 80 column mode, dark background.Push <RETURN>[2J[?6h[?4h[12;13r[2J[24BSoft scroll up region [12..13] size 2 Line 1
+Soft scroll up region [12..13] size 2 Line 2
+Soft scroll up region [12..13] size 2 Line 3
+Soft scroll up region [12..13] size 2 Line 4
+Soft scroll up region [12..13] size 2 Line 5
+Soft scroll up region [12..13] size 2 Line 6
+Soft scroll up region [12..13] size 2 Line 7
+Soft scroll up region [12..13] size 2 Line 8
+Soft scroll up region [12..13] size 2 Line 9
+Soft scroll up region [12..13] size 2 Line 10
+Soft scroll up region [12..13] size 2 Line 11
+Soft scroll up region [12..13] size 2 Line 12
+Soft scroll up region [12..13] size 2 Line 13
+Soft scroll up region [12..13] size 2 Line 14
+Soft scroll up region [12..13] size 2 Line 15
+Soft scroll up region [12..13] size 2 Line 16
+Soft scroll up region [12..13] size 2 Line 17
+Soft scroll up region [12..13] size 2 Line 18
+Soft scroll up region [12..13] size 2 Line 19
+Soft scroll up region [12..13] size 2 Line 20
+Soft scroll up region [12..13] size 2 Line 21
+Soft scroll up region [12..13] size 2 Line 22
+Soft scroll up region [12..13] size 2 Line 23
+Soft scroll up region [12..13] size 2 Line 24
+Soft scroll up region [12..13] size 2 Line 25
+Soft scroll up region [12..13] size 2 Line 26
+Soft scroll up region [12..13] size 2 Line 27
+Soft scroll up region [12..13] size 2 Line 28
+Soft scroll up region [12..13] size 2 Line 29
+[24ASoft scroll down region [12..13] size 2 Line 1
+MMSoft scroll down region [12..13] size 2 Line 2
+MMSoft scroll down region [12..13] size 2 Line 3
+MMSoft scroll down region [12..13] size 2 Line 4
+MMSoft scroll down region [12..13] size 2 Line 5
+MMSoft scroll down region [12..13] size 2 Line 6
+MMSoft scroll down region [12..13] size 2 Line 7
+MMSoft scroll down region [12..13] size 2 Line 8
+MMSoft scroll down region [12..13] size 2 Line 9
+MMSoft scroll down region [12..13] size 2 Line 10
+MMSoft scroll down region [12..13] size 2 Line 11
+MMSoft scroll down region [12..13] size 2 Line 12
+MMSoft scroll down region [12..13] size 2 Line 13
+MMSoft scroll down region [12..13] size 2 Line 14
+MMSoft scroll down region [12..13] size 2 Line 15
+MMSoft scroll down region [12..13] size 2 Line 16
+MMSoft scroll down region [12..13] size 2 Line 17
+MMSoft scroll down region [12..13] size 2 Line 18
+MMSoft scroll down region [12..13] size 2 Line 19
+MMSoft scroll down region [12..13] size 2 Line 20
+MMSoft scroll down region [12..13] size 2 Line 21
+MMSoft scroll down region [12..13] size 2 Line 22
+MMSoft scroll down region [12..13] size 2 Line 23
+MMSoft scroll down region [12..13] size 2 Line 24
+MMSoft scroll down region [12..13] size 2 Line 25
+MMSoft scroll down region [12..13] size 2 Line 26
+MMSoft scroll down region [12..13] size 2 Line 27
+MMSoft scroll down region [12..13] size 2 Line 28
+MMSoft scroll down region [12..13] size 2 Line 29
+MMPush <RETURN>[1;24r[2J[24BSoft scroll up region [1..24] size 24 Line 1
+Soft scroll up region [1..24] size 24 Line 2
+Soft scroll up region [1..24] size 24 Line 3
+Soft scroll up region [1..24] size 24 Line 4
+Soft scroll up region [1..24] size 24 Line 5
+Soft scroll up region [1..24] size 24 Line 6
+Soft scroll up region [1..24] size 24 Line 7
+Soft scroll up region [1..24] size 24 Line 8
+Soft scroll up region [1..24] size 24 Line 9
+Soft scroll up region [1..24] size 24 Line 10
+Soft scroll up region [1..24] size 24 Line 11
+Soft scroll up region [1..24] size 24 Line 12
+Soft scroll up region [1..24] size 24 Line 13
+Soft scroll up region [1..24] size 24 Line 14
+Soft scroll up region [1..24] size 24 Line 15
+Soft scroll up region [1..24] size 24 Line 16
+Soft scroll up region [1..24] size 24 Line 17
+Soft scroll up region [1..24] size 24 Line 18
+Soft scroll up region [1..24] size 24 Line 19
+Soft scroll up region [1..24] size 24 Line 20
+Soft scroll up region [1..24] size 24 Line 21
+Soft scroll up region [1..24] size 24 Line 22
+Soft scroll up region [1..24] size 24 Line 23
+Soft scroll up region [1..24] size 24 Line 24
+Soft scroll up region [1..24] size 24 Line 25
+Soft scroll up region [1..24] size 24 Line 26
+Soft scroll up region [1..24] size 24 Line 27
+Soft scroll up region [1..24] size 24 Line 28
+Soft scroll up region [1..24] size 24 Line 29
+[24ASoft scroll down region [1..24] size 24 Line 1
+MMSoft scroll down region [1..24] size 24 Line 2
+MMSoft scroll down region [1..24] size 24 Line 3
+MMSoft scroll down region [1..24] size 24 Line 4
+MMSoft scroll down region [1..24] size 24 Line 5
+MMSoft scroll down region [1..24] size 24 Line 6
+MMSoft scroll down region [1..24] size 24 Line 7
+MMSoft scroll down region [1..24] size 24 Line 8
+MMSoft scroll down region [1..24] size 24 Line 9
+MMSoft scroll down region [1..24] size 24 Line 10
+MMSoft scroll down region [1..24] size 24 Line 11
+MMSoft scroll down region [1..24] size 24 Line 12
+MMSoft scroll down region [1..24] size 24 Line 13
+MMSoft scroll down region [1..24] size 24 Line 14
+MMSoft scroll down region [1..24] size 24 Line 15
+MMSoft scroll down region [1..24] size 24 Line 16
+MMSoft scroll down region [1..24] size 24 Line 17
+MMSoft scroll down region [1..24] size 24 Line 18
+MMSoft scroll down region [1..24] size 24 Line 19
+MMSoft scroll down region [1..24] size 24 Line 20
+MMSoft scroll down region [1..24] size 24 Line 21
+MMSoft scroll down region [1..24] size 24 Line 22
+MMSoft scroll down region [1..24] size 24 Line 23
+MMSoft scroll down region [1..24] size 24 Line 24
+MMSoft scroll down region [1..24] size 24 Line 25
+MMSoft scroll down region [1..24] size 24 Line 26
+MMSoft scroll down region [1..24] size 24 Line 27
+MMSoft scroll down region [1..24] size 24 Line 28
+MMSoft scroll down region [1..24] size 24 Line 29
+MMPush <RETURN>[?4l[12;13r[2J[24BJump scroll up region [12..13] size 2 Line 1
+Jump scroll up region [12..13] size 2 Line 2
+Jump scroll up region [12..13] size 2 Line 3
+Jump scroll up region [12..13] size 2 Line 4
+Jump scroll up region [12..13] size 2 Line 5
+Jump scroll up region [12..13] size 2 Line 6
+Jump scroll up region [12..13] size 2 Line 7
+Jump scroll up region [12..13] size 2 Line 8
+Jump scroll up region [12..13] size 2 Line 9
+Jump scroll up region [12..13] size 2 Line 10
+Jump scroll up region [12..13] size 2 Line 11
+Jump scroll up region [12..13] size 2 Line 12
+Jump scroll up region [12..13] size 2 Line 13
+Jump scroll up region [12..13] size 2 Line 14
+Jump scroll up region [12..13] size 2 Line 15
+Jump scroll up region [12..13] size 2 Line 16
+Jump scroll up region [12..13] size 2 Line 17
+Jump scroll up region [12..13] size 2 Line 18
+Jump scroll up region [12..13] size 2 Line 19
+Jump scroll up region [12..13] size 2 Line 20
+Jump scroll up region [12..13] size 2 Line 21
+Jump scroll up region [12..13] size 2 Line 22
+Jump scroll up region [12..13] size 2 Line 23
+Jump scroll up region [12..13] size 2 Line 24
+Jump scroll up region [12..13] size 2 Line 25
+Jump scroll up region [12..13] size 2 Line 26
+Jump scroll up region [12..13] size 2 Line 27
+Jump scroll up region [12..13] size 2 Line 28
+Jump scroll up region [12..13] size 2 Line 29
+[24AJump scroll down region [12..13] size 2 Line 1
+MMJump scroll down region [12..13] size 2 Line 2
+MMJump scroll down region [12..13] size 2 Line 3
+MMJump scroll down region [12..13] size 2 Line 4
+MMJump scroll down region [12..13] size 2 Line 5
+MMJump scroll down region [12..13] size 2 Line 6
+MMJump scroll down region [12..13] size 2 Line 7
+MMJump scroll down region [12..13] size 2 Line 8
+MMJump scroll down region [12..13] size 2 Line 9
+MMJump scroll down region [12..13] size 2 Line 10
+MMJump scroll down region [12..13] size 2 Line 11
+MMJump scroll down region [12..13] size 2 Line 12
+MMJump scroll down region [12..13] size 2 Line 13
+MMJump scroll down region [12..13] size 2 Line 14
+MMJump scroll down region [12..13] size 2 Line 15
+MMJump scroll down region [12..13] size 2 Line 16
+MMJump scroll down region [12..13] size 2 Line 17
+MMJump scroll down region [12..13] size 2 Line 18
+MMJump scroll down region [12..13] size 2 Line 19
+MMJump scroll down region [12..13] size 2 Line 20
+MMJump scroll down region [12..13] size 2 Line 21
+MMJump scroll down region [12..13] size 2 Line 22
+MMJump scroll down region [12..13] size 2 Line 23
+MMJump scroll down region [12..13] size 2 Line 24
+MMJump scroll down region [12..13] size 2 Line 25
+MMJump scroll down region [12..13] size 2 Line 26
+MMJump scroll down region [12..13] size 2 Line 27
+MMJump scroll down region [12..13] size 2 Line 28
+MMJump scroll down region [12..13] size 2 Line 29
+MMPush <RETURN>[1;24r[2J[24BJump scroll up region [1..24] size 24 Line 1
+Jump scroll up region [1..24] size 24 Line 2
+Jump scroll up region [1..24] size 24 Line 3
+Jump scroll up region [1..24] size 24 Line 4
+Jump scroll up region [1..24] size 24 Line 5
+Jump scroll up region [1..24] size 24 Line 6
+Jump scroll up region [1..24] size 24 Line 7
+Jump scroll up region [1..24] size 24 Line 8
+Jump scroll up region [1..24] size 24 Line 9
+Jump scroll up region [1..24] size 24 Line 10
+Jump scroll up region [1..24] size 24 Line 11
+Jump scroll up region [1..24] size 24 Line 12
+Jump scroll up region [1..24] size 24 Line 13
+Jump scroll up region [1..24] size 24 Line 14
+Jump scroll up region [1..24] size 24 Line 15
+Jump scroll up region [1..24] size 24 Line 16
+Jump scroll up region [1..24] size 24 Line 17
+Jump scroll up region [1..24] size 24 Line 18
+Jump scroll up region [1..24] size 24 Line 19
+Jump scroll up region [1..24] size 24 Line 20
+Jump scroll up region [1..24] size 24 Line 21
+Jump scroll up region [1..24] size 24 Line 22
+Jump scroll up region [1..24] size 24 Line 23
+Jump scroll up region [1..24] size 24 Line 24
+Jump scroll up region [1..24] size 24 Line 25
+Jump scroll up region [1..24] size 24 Line 26
+Jump scroll up region [1..24] size 24 Line 27
+Jump scroll up region [1..24] size 24 Line 28
+Jump scroll up region [1..24] size 24 Line 29
+[24AJump scroll down region [1..24] size 24 Line 1
+MMJump scroll down region [1..24] size 24 Line 2
+MMJump scroll down region [1..24] size 24 Line 3
+MMJump scroll down region [1..24] size 24 Line 4
+MMJump scroll down region [1..24] size 24 Line 5
+MMJump scroll down region [1..24] size 24 Line 6
+MMJump scroll down region [1..24] size 24 Line 7
+MMJump scroll down region [1..24] size 24 Line 8
+MMJump scroll down region [1..24] size 24 Line 9
+MMJump scroll down region [1..24] size 24 Line 10
+MMJump scroll down region [1..24] size 24 Line 11
+MMJump scroll down region [1..24] size 24 Line 12
+MMJump scroll down region [1..24] size 24 Line 13
+MMJump scroll down region [1..24] size 24 Line 14
+MMJump scroll down region [1..24] size 24 Line 15
+MMJump scroll down region [1..24] size 24 Line 16
+MMJump scroll down region [1..24] size 24 Line 17
+MMJump scroll down region [1..24] size 24 Line 18
+MMJump scroll down region [1..24] size 24 Line 19
+MMJump scroll down region [1..24] size 24 Line 20
+MMJump scroll down region [1..24] size 24 Line 21
+MMJump scroll down region [1..24] size 24 Line 22
+MMJump scroll down region [1..24] size 24 Line 23
+MMJump scroll down region [1..24] size 24 Line 24
+MMJump scroll down region [1..24] size 24 Line 25
+MMJump scroll down region [1..24] size 24 Line 26
+MMJump scroll down region [1..24] size 24 Line 27
+MMJump scroll down region [1..24] size 24 Line 28
+MMJump scroll down region [1..24] size 24 Line 29
+MMPush <RETURN>
\ No newline at end of file diff --git a/src/tests/fixtures/vttest3-0 b/src/tests/fixtures/vttest3-0 new file mode 100644 index 00000000..33f3324f --- /dev/null +++ b/src/tests/fixtures/vttest3-0 @@ -0,0 +1,20 @@ +[2m⏎(B[m
⏎
[KWelcome to fish, the friendly interactive shell
+[?2004h]0;fish /home/aram/code/zellij[30m(B[m[97m[46m⋊>(B[m [33m~/c/zellij(B[m on [32mvttest-2(B[m ⨯ [K[44C[38;2;85;85;85m17:45:13(B[m
[72C
[28C
[28Cv[J[67C[38;2;85;85;85m17:45:13(B[m
[96C
[29C[91mv[67C[30m(B[m[38;2;85;85;85m17:45:13(B[m
[96C
[29C[38;2;85;85;85mttest[62C[30m(B[m[38;2;85;85;85m17:45:13(B[m
[96C
[29C[91mt[38;2;85;85;85mtest[62C[30m(B[m[38;2;85;85;85m17:45:13(B[m
[96C
[30C[91mt[38;2;85;85;85mest[62C[30m(B[m[38;2;85;85;85m17:45:13(B[m
[96C
[31C[91me[38;2;85;85;85mst[62C[30m(B[m[38;2;85;85;85m17:45:13(B[m
[96C
[32C[91ms[38;2;85;85;85mt[62C[30m(B[m[38;2;85;85;85m17:45:13(B[m
[96C
[33C[91mt[62C[30m(B[m[38;2;85;85;85m17:45:13(B[m
[96C
[34C[1mvttest[62C(B[m[38;2;85;85;85m17:45:13(B[m
[96C
[34C[62C[38;2;85;85;85m17:45:13(B[m
[96C
[34C
+[30m(B[m[?2004l]0;vttest /home/aram/code/zellij[30m(B[m
[0c[?1l[?3l[?4l[?5l[?6l[?7h[?8l[?40h[?45l[r[0m[2J[3;10HVT100 test program, version 2.7 (20210210)[4;10HLine speed 38400bd [5;10HChoose test type:
+[6;1H[0J
+ 0. Exit
+ 1. Test of cursor movements
+ 2. Test of screen features
+ 3. Test of character sets
+ 4. Test of double-sized characters
+ 5. Test of keyboard
+ 6. Test of terminal reports
+ 7. Test of VT52 mode
+ 8. Test of VT102 features (Insert/Delete Char/Line)
+ 9. Test of known bugs
+ 10. Test of reset and self-test
+ 11. Test non-VT100 (e.g., VT220, XTERM) terminals
+ 12. Modify test-parameters
+
+ Enter choice number (0 - 12): 3
+[2J[?42l(B)B*B+B[1;10HSelected as G0 (with SI)[1;48HSelected as G1 (with SO))B(B[3;1H[1mCharacter set B (US ASCII)[0m(B)B[4;10H !"#$%&'()*+,-./0123456789:;<=>?[5;10H@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_[6;10H`abcdefghijklmnopqrstuvwxyz{|}~)B(B[4;48H !"#$%&'()*+,-./0123456789:;<=>?[5;48H@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_[6;48H`abcdefghijklmnopqrstuvwxyz{|}~)B(B[7;1H[1mCharacter set A (British)[0m(A)B[8;10H !"#$%&'()*+,-./0123456789:;<=>?[9;10H@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_[10;10H`abcdefghijklmnopqrstuvwxyz{|}~)A(B[8;48H !"#$%&'()*+,-./0123456789:;<=>?[9;48H@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_[10;48H`abcdefghijklmnopqrstuvwxyz{|}~)B(B[11;1H[1mCharacter set 0 (DEC Special graphics and line drawing)[0m(0)B[12;10H !"#$%&'()*+,-./0123456789:;<=>?[13;10H@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_[14;10H`abcdefghijklmnopqrstuvwxyz{|}~)0(B[12;48H !"#$%&'()*+,-./0123456789:;<=>?[13;48H@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_[14;48H`abcdefghijklmnopqrstuvwxyz{|}~)B(B[15;1H[1mCharacter set 1 (DEC Alternate character ROM standard characters)[0m(1)B[16;10H !"#$%&'()*+,-./0123456789:;<=>?[17;10H@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_[18;10H`abcdefghijklmnopqrstuvwxyz{|}~)1(B[16;48H !"#$%&'()*+,-./0123456789:;<=>?[17;48H@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_[18;48H`abcdefghijklmnopqrstuvwxyz{|}~)B(B[19;1H[1mCharacter set 2 (DEC Alternate character ROM special graphics)[0m(2)B[20;10H !"#$%&'()*+,-./0123456789:;<=>?[21;10H@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_[22;10H`abcdefghijklmnopqrstuvwxyz{|}~)2(B[20;48H !"#$%&'()*+,-./0123456789:;<=>?[21;48H@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_[22;48H`abcdefghijklmnopqrstuvwxyz{|}~(B)B[24;1HThese are the installed character sets. Push <RETURN>
\ No newline at end of file |
