billiob pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=88bf97f4c2259bd156435377d88b6e2c20eb4139

commit 88bf97f4c2259bd156435377d88b6e2c20eb4139
Author: Boris Faure <[email protected]>
Date:   Sat Nov 24 15:46:35 2018 +0100

    add tests on DECERA
---
 tests/decera-no-restrict-cursor.sh | 20 ++++++++++++++++++++
 tests/decera-restrict-cursor.sh    | 22 ++++++++++++++++++++++
 tests/tests.results                |  2 ++
 3 files changed, 44 insertions(+)

diff --git a/tests/decera-no-restrict-cursor.sh 
b/tests/decera-no-restrict-cursor.sh
new file mode 100755
index 0000000..2a8d28a
--- /dev/null
+++ b/tests/decera-no-restrict-cursor.sh
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+#set color
+printf '\033[46;31;3m'
+# fill space with E
+printf '\033[69;1;1;25;80$x'
+# set top/bottom margins:
+printf '\033[10;20r'
+# allow left/right margins
+printf '\033[?69h'
+# set left/right margins:
+printf '\033[5;15s'
+# top left corner
+printf '\033[3;5;12;7$z'
+# top right corner
+printf '\033[8;12;13;17$z'
+# bottom left corner
+printf '\033[18;3;22;8$z'
+# top right corner
+printf '\033[17;14;23;18$z'
diff --git a/tests/decera-restrict-cursor.sh b/tests/decera-restrict-cursor.sh
new file mode 100755
index 0000000..08d94b2
--- /dev/null
+++ b/tests/decera-restrict-cursor.sh
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+#set color
+printf '\033[46;31;3m'
+# fill space with E
+printf '\033[69;1;1;25;80$x'
+# restrict cursor
+printf '\033[?6h'
+# set top/bottom margins:
+printf '\033[10;20r'
+# allow left/right margins
+printf '\033[?69h'
+# set left/right margins:
+printf '\033[5;15s'
+# top left corner
+printf '\033[3;5;12;7$z'
+# top right corner
+printf '\033[8;12;13;17$z'
+# bottom left corner
+printf '\033[18;3;22;8$z'
+# top right corner
+printf '\033[17;14;23;18$z'
diff --git a/tests/tests.results b/tests/tests.results
index 3349d12..5a435f9 100644
--- a/tests/tests.results
+++ b/tests/tests.results
@@ -1,2 +1,4 @@
 decfra-no-restrict-cursor.sh 236d1c32fe49c8762ad204510117b1da
 decfra-restrict-cursor.sh 898682203275b186e6c81424b93b1b79
+decera-no-restrict-cursor.sh d92d38dfe6fd6b4100e3f0dac0e0a405
+decera-restrict-cursor.sh baae3f0eef7e6f0032ba74f11ee306f6

-- 


Reply via email to