diff options
author | Jesse Luehrs <doy@tozt.net> | 2019-12-06 23:27:51 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2019-12-06 23:28:04 -0500 |
commit | e6b26a5f6ac8f79f0fd26da4fe285fa3c33da21c (patch) | |
tree | 8d6b1fbffec6b7b0397f908e7b02fa78dacf62fc /tests | |
parent | e13049c91c036354b311bc529b0b258aa4b61952 (diff) | |
download | vt100-rust-e6b26a5f6ac8f79f0fd26da4fe285fa3c33da21c.tar.gz vt100-rust-e6b26a5f6ac8f79f0fd26da4fe285fa3c33da21c.zip |
more line wrapping fixes
Diffstat (limited to 'tests')
-rw-r--r-- | tests/data/fixtures/wrap.in | 5 | ||||
-rw-r--r-- | tests/data/fixtures/wrap/24.json | 21 | ||||
-rw-r--r-- | tests/data/fixtures/wrap/24.typescript | 1 | ||||
-rw-r--r-- | tests/data/fixtures/wrap/25.json | 18 | ||||
-rw-r--r-- | tests/data/fixtures/wrap/25.typescript | 1 | ||||
-rw-r--r-- | tests/data/fixtures/wrap/26.json | 21 | ||||
-rw-r--r-- | tests/data/fixtures/wrap/26.typescript | 1 | ||||
-rw-r--r-- | tests/data/fixtures/wrap/27.json | 18 | ||||
-rw-r--r-- | tests/data/fixtures/wrap/27.typescript | 1 | ||||
-rw-r--r-- | tests/data/fixtures/wrap/28.json | 12 | ||||
-rw-r--r-- | tests/data/fixtures/wrap/28.typescript | 1 |
11 files changed, 100 insertions, 0 deletions
diff --git a/tests/data/fixtures/wrap.in b/tests/data/fixtures/wrap.in index 4b1bea2..f079817 100644 --- a/tests/data/fixtures/wrap.in +++ b/tests/data/fixtures/wrap.in @@ -21,3 +21,8 @@ a \x1b[H\x1b[J ネa\x1b[L\x1b[1;79Hbcd +\x1bc\x1b[1;79Habcd +\x1b[1;80H\x1b[X +\x1bc\x1b[1;79Habcd +\x1b[H\x1b[@ +\x1bc\x1b[1;80Haa\x1b[T\x1b[@ diff --git a/tests/data/fixtures/wrap/24.json b/tests/data/fixtures/wrap/24.json new file mode 100644 index 0000000..a4d8d68 --- /dev/null +++ b/tests/data/fixtures/wrap/24.json @@ -0,0 +1,21 @@ +{ + "contents": " abcd", + "cells": { + "0,78": { + "contents": "a" + }, + "0,79": { + "contents": "b" + }, + "1,0": { + "contents": "c" + }, + "1,1": { + "contents": "d" + } + }, + "cursor_position": [ + 1, + 2 + ] +}
\ No newline at end of file diff --git a/tests/data/fixtures/wrap/24.typescript b/tests/data/fixtures/wrap/24.typescript new file mode 100644 index 0000000..9e7bc48 --- /dev/null +++ b/tests/data/fixtures/wrap/24.typescript @@ -0,0 +1 @@ +c[1;79Habcd
\ No newline at end of file diff --git a/tests/data/fixtures/wrap/25.json b/tests/data/fixtures/wrap/25.json new file mode 100644 index 0000000..3f7250b --- /dev/null +++ b/tests/data/fixtures/wrap/25.json @@ -0,0 +1,18 @@ +{ + "contents": " a\ncd", + "cells": { + "0,78": { + "contents": "a" + }, + "1,0": { + "contents": "c" + }, + "1,1": { + "contents": "d" + } + }, + "cursor_position": [ + 0, + 79 + ] +}
\ No newline at end of file diff --git a/tests/data/fixtures/wrap/25.typescript b/tests/data/fixtures/wrap/25.typescript new file mode 100644 index 0000000..582fae1 --- /dev/null +++ b/tests/data/fixtures/wrap/25.typescript @@ -0,0 +1 @@ +[1;80H[X
\ No newline at end of file diff --git a/tests/data/fixtures/wrap/26.json b/tests/data/fixtures/wrap/26.json new file mode 100644 index 0000000..a4d8d68 --- /dev/null +++ b/tests/data/fixtures/wrap/26.json @@ -0,0 +1,21 @@ +{ + "contents": " abcd", + "cells": { + "0,78": { + "contents": "a" + }, + "0,79": { + "contents": "b" + }, + "1,0": { + "contents": "c" + }, + "1,1": { + "contents": "d" + } + }, + "cursor_position": [ + 1, + 2 + ] +}
\ No newline at end of file diff --git a/tests/data/fixtures/wrap/26.typescript b/tests/data/fixtures/wrap/26.typescript new file mode 100644 index 0000000..9e7bc48 --- /dev/null +++ b/tests/data/fixtures/wrap/26.typescript @@ -0,0 +1 @@ +c[1;79Habcd
\ No newline at end of file diff --git a/tests/data/fixtures/wrap/27.json b/tests/data/fixtures/wrap/27.json new file mode 100644 index 0000000..ac07fa2 --- /dev/null +++ b/tests/data/fixtures/wrap/27.json @@ -0,0 +1,18 @@ +{ + "contents": " a\ncd", + "cells": { + "0,79": { + "contents": "a" + }, + "1,0": { + "contents": "c" + }, + "1,1": { + "contents": "d" + } + }, + "cursor_position": [ + 0, + 0 + ] +}
\ No newline at end of file diff --git a/tests/data/fixtures/wrap/27.typescript b/tests/data/fixtures/wrap/27.typescript new file mode 100644 index 0000000..f6122a6 --- /dev/null +++ b/tests/data/fixtures/wrap/27.typescript @@ -0,0 +1 @@ +[H[@
\ No newline at end of file diff --git a/tests/data/fixtures/wrap/28.json b/tests/data/fixtures/wrap/28.json new file mode 100644 index 0000000..a505566 --- /dev/null +++ b/tests/data/fixtures/wrap/28.json @@ -0,0 +1,12 @@ +{ + "contents": "\n\na", + "cells": { + "2,0": { + "contents": "a" + } + }, + "cursor_position": [ + 1, + 1 + ] +}
\ No newline at end of file diff --git a/tests/data/fixtures/wrap/28.typescript b/tests/data/fixtures/wrap/28.typescript new file mode 100644 index 0000000..f760735 --- /dev/null +++ b/tests/data/fixtures/wrap/28.typescript @@ -0,0 +1 @@ +c[1;80Haa[T[@
\ No newline at end of file |