diff options
author | Jesse Luehrs <doy@tozt.net> | 2019-12-05 14:48:06 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2019-12-06 21:26:07 -0500 |
commit | 532a9b9417f26c2d7011e4f1b79d556db717a650 (patch) | |
tree | 465e59a1cef826f7d08940bbd9f9932bda5a91ab /tests/data/fixtures | |
parent | 10b5fca013b4fa0839b60262164400e5a63f2fb4 (diff) | |
download | vt100-rust-532a9b9417f26c2d7011e4f1b79d556db717a650.tar.gz vt100-rust-532a9b9417f26c2d7011e4f1b79d556db717a650.zip |
preserve wrapping state when possible
Diffstat (limited to 'tests/data/fixtures')
-rw-r--r-- | tests/data/fixtures/il_dl.in | 5 | ||||
-rw-r--r-- | tests/data/fixtures/il_dl/13.json | 8 | ||||
-rw-r--r-- | tests/data/fixtures/il_dl/13.typescript | 1 | ||||
-rw-r--r-- | tests/data/fixtures/il_dl/14.json | 12 | ||||
-rw-r--r-- | tests/data/fixtures/il_dl/14.typescript | 1 | ||||
-rw-r--r-- | tests/data/fixtures/il_dl/15.json | 15 | ||||
-rw-r--r-- | tests/data/fixtures/il_dl/15.typescript | 1 | ||||
-rw-r--r-- | tests/data/fixtures/il_dl/16.json | 15 | ||||
-rw-r--r-- | tests/data/fixtures/il_dl/16.typescript | 1 | ||||
-rw-r--r-- | tests/data/fixtures/il_dl/17.json | 21 | ||||
-rw-r--r-- | tests/data/fixtures/il_dl/17.typescript | 1 |
11 files changed, 81 insertions, 0 deletions
diff --git a/tests/data/fixtures/il_dl.in b/tests/data/fixtures/il_dl.in index e0a564e..3e159aa 100644 --- a/tests/data/fixtures/il_dl.in +++ b/tests/data/fixtures/il_dl.in @@ -10,3 +10,8 @@ a \x1b[L bc +\x1bc\x1b[1;80H +a +b +\x1b[L +cd diff --git a/tests/data/fixtures/il_dl/13.json b/tests/data/fixtures/il_dl/13.json new file mode 100644 index 0000000..5deb58b --- /dev/null +++ b/tests/data/fixtures/il_dl/13.json @@ -0,0 +1,8 @@ +{ + "contents": "", + "cells": {}, + "cursor_position": [ + 0, + 79 + ] +}
\ No newline at end of file diff --git a/tests/data/fixtures/il_dl/13.typescript b/tests/data/fixtures/il_dl/13.typescript new file mode 100644 index 0000000..fc29e50 --- /dev/null +++ b/tests/data/fixtures/il_dl/13.typescript @@ -0,0 +1 @@ +c[1;80H
\ No newline at end of file diff --git a/tests/data/fixtures/il_dl/14.json b/tests/data/fixtures/il_dl/14.json new file mode 100644 index 0000000..59543cb --- /dev/null +++ b/tests/data/fixtures/il_dl/14.json @@ -0,0 +1,12 @@ +{ + "contents": " a", + "cells": { + "0,79": { + "contents": "a" + } + }, + "cursor_position": [ + 0, + 80 + ] +}
\ No newline at end of file diff --git a/tests/data/fixtures/il_dl/14.typescript b/tests/data/fixtures/il_dl/14.typescript new file mode 100644 index 0000000..2e65efe --- /dev/null +++ b/tests/data/fixtures/il_dl/14.typescript @@ -0,0 +1 @@ +a
\ No newline at end of file diff --git a/tests/data/fixtures/il_dl/15.json b/tests/data/fixtures/il_dl/15.json new file mode 100644 index 0000000..a28d5bc --- /dev/null +++ b/tests/data/fixtures/il_dl/15.json @@ -0,0 +1,15 @@ +{ + "contents": " ab", + "cells": { + "0,79": { + "contents": "a" + }, + "1,0": { + "contents": "b" + } + }, + "cursor_position": [ + 1, + 1 + ] +}
\ No newline at end of file diff --git a/tests/data/fixtures/il_dl/15.typescript b/tests/data/fixtures/il_dl/15.typescript new file mode 100644 index 0000000..63d8dbd --- /dev/null +++ b/tests/data/fixtures/il_dl/15.typescript @@ -0,0 +1 @@ +b
\ No newline at end of file diff --git a/tests/data/fixtures/il_dl/16.json b/tests/data/fixtures/il_dl/16.json new file mode 100644 index 0000000..102c2f1 --- /dev/null +++ b/tests/data/fixtures/il_dl/16.json @@ -0,0 +1,15 @@ +{ + "contents": " a\nb", + "cells": { + "0,79": { + "contents": "a" + }, + "2,0": { + "contents": "b" + } + }, + "cursor_position": [ + 1, + 1 + ] +}
\ No newline at end of file diff --git a/tests/data/fixtures/il_dl/16.typescript b/tests/data/fixtures/il_dl/16.typescript new file mode 100644 index 0000000..a330c08 --- /dev/null +++ b/tests/data/fixtures/il_dl/16.typescript @@ -0,0 +1 @@ +[L
\ No newline at end of file diff --git a/tests/data/fixtures/il_dl/17.json b/tests/data/fixtures/il_dl/17.json new file mode 100644 index 0000000..4b2e900 --- /dev/null +++ b/tests/data/fixtures/il_dl/17.json @@ -0,0 +1,21 @@ +{ + "contents": " a cd\nb", + "cells": { + "0,79": { + "contents": "a" + }, + "1,1": { + "contents": "c" + }, + "1,2": { + "contents": "d" + }, + "2,0": { + "contents": "b" + } + }, + "cursor_position": [ + 1, + 3 + ] +}
\ No newline at end of file diff --git a/tests/data/fixtures/il_dl/17.typescript b/tests/data/fixtures/il_dl/17.typescript new file mode 100644 index 0000000..25038d7 --- /dev/null +++ b/tests/data/fixtures/il_dl/17.typescript @@ -0,0 +1 @@ +cd
\ No newline at end of file |