introduced sub-box border function. needs work
This commit is contained in:
parent
34698289a4
commit
07fde8af8b
1 changed files with 11 additions and 0 deletions
11
functions
11
functions
|
|
@ -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"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue