diff --git a/tests/decera-no-restrict-cursor.sh b/tests/decera-no-restrict-cursor.sh new file mode 100755 index 00000000..2a8d28ad --- /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 00000000..08d94b2e --- /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 3349d121..5a435f9e 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