added better boxtype handling
This commit is contained in:
parent
25597c2d61
commit
faa371fc48
1 changed files with 10 additions and 5 deletions
15
functions
15
functions
|
|
@ -157,11 +157,16 @@ box-singlechar(){
|
|||
# ---------------------------------------#
|
||||
}
|
||||
|
||||
case $boxtype in
|
||||
single) box-single ;;
|
||||
double) box-double ;;
|
||||
char) box-singlechar ;;
|
||||
esac
|
||||
set-boxtype(){
|
||||
case $boxtype in
|
||||
norm) box-norm ;;
|
||||
double) box-double ;;
|
||||
heavy) box-heavy ;;
|
||||
light) box-light ;;
|
||||
rounded) box-rounded ;;
|
||||
char) box-singlechar ;;
|
||||
esac
|
||||
}
|
||||
|
||||
repchar() {
|
||||
n=1
|
||||
|
|
|
|||
Loading…
Reference in a new issue