aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2021-11-20 02:24:46 -0500
committerJesse Luehrs <doy@tozt.net>2021-11-20 02:24:46 -0500
commitdd42df358df7889a42fc23b07140fa99c6249ae7 (patch)
tree41bcf041c3d053131b9ad6f32f134ede1a4fb2bc /tests
parent49f6a8ba69764e99d6674147cd716e32254dfc30 (diff)
downloadvt100-rust-dd42df358df7889a42fc23b07140fa99c6249ae7.tar.gz
vt100-rust-dd42df358df7889a42fc23b07140fa99c6249ae7.zip
more cursor_state_formatted fixes
Diffstat (limited to 'tests')
-rw-r--r--tests/data/fixtures/attrs.in1
-rw-r--r--tests/data/fixtures/attrs/11.json13
-rw-r--r--tests/data/fixtures/attrs/11.typescript1
3 files changed, 15 insertions, 0 deletions
diff --git a/tests/data/fixtures/attrs.in b/tests/data/fixtures/attrs.in
index 4fe65cb..9058d9a 100644
--- a/tests/data/fixtures/attrs.in
+++ b/tests/data/fixtures/attrs.in
@@ -8,3 +8,4 @@ f\x1b[1mo\x1b[3mo\x1b[4mo\x1b[7mo
\x1b[1;2H\x1b[4;7mo\x1b[m
\x1b[1;1H\x1b[4;7m\x1b[X\x1b[m
\x1bc\x1b[1;79H\x1b[31mab
+\x1bc\x1b[1;80H\x1b[41ma\n
diff --git a/tests/data/fixtures/attrs/11.json b/tests/data/fixtures/attrs/11.json
new file mode 100644
index 0000000..915ae63
--- /dev/null
+++ b/tests/data/fixtures/attrs/11.json
@@ -0,0 +1,13 @@
+{
+ "contents": " a",
+ "cells": {
+ "0,79": {
+ "contents": "a",
+ "bgcolor": "1"
+ }
+ },
+ "cursor_position": [
+ 1,
+ 80
+ ]
+} \ No newline at end of file
diff --git a/tests/data/fixtures/attrs/11.typescript b/tests/data/fixtures/attrs/11.typescript
new file mode 100644
index 0000000..20008d6
--- /dev/null
+++ b/tests/data/fixtures/attrs/11.typescript
@@ -0,0 +1 @@
+ca