introduced sub-box border function. needs work

This commit is contained in:
pyr0ball 2023-03-08 14:12:11 -08:00
parent 34698289a4
commit 07fde8af8b

View file

@ -501,6 +501,17 @@ boxborder(){
boxbottom boxbottom
} }
subboxborder(){
BOXWIDTH_ORG=$BOXWIDTH
BOXWIDTH=$(($BOXWIDTH*75/100))
boxline $(boxtop)
for line in "$@" ; do
boxline $(boxline "$line")
done
boxline $(boxbottom)
BOXWIDTH=$BOXWIDTH_ORG
}
success(){ success(){
_line="$@" _line="$@"
echo -e "\n" echo -e "\n"