add tests on DECERA

This commit is contained in:
Boris Faure 2018-11-24 15:46:35 +01:00
parent 4ba31c3fba
commit 88bf97f4c2
3 changed files with 44 additions and 0 deletions

View File

@ -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'

22
tests/decera-restrict-cursor.sh Executable file
View File

@ -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'

View File

@ -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