aboutsummaryrefslogblamecommitdiffstats
path: root/tests/decera-restrict-cursor.sh
blob: 038bb749591a942d90db76beaa3741daefc633ee (plain) (tree)
1
2
3
4
5
6




                      
                               








                          
                           
                  
                             
                    
                            
                  
                              
#!/bin/sh

#set color
printf '\033[46;31;3m'
# fill space with E
printf '\033[69;1;1;25;80\044x'
# 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\044z'
# top right corner
printf '\033[8;12;13;17\044z'
# bottom left corner
printf '\033[18;3;22;8\044z'
# top right corner
printf '\033[17;14;23;18\044z'