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
|
set-boxtype(){
|
||||||
single) box-single ;;
|
case $boxtype in
|
||||||
double) box-double ;;
|
norm) box-norm ;;
|
||||||
char) box-singlechar ;;
|
double) box-double ;;
|
||||||
esac
|
heavy) box-heavy ;;
|
||||||
|
light) box-light ;;
|
||||||
|
rounded) box-rounded ;;
|
||||||
|
char) box-singlechar ;;
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
|
||||||
repchar() {
|
repchar() {
|
||||||
n=1
|
n=1
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue