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
|
||||
}
|
||||
|
||||
subboxborder(){
|
||||
BOXWIDTH_ORG=$BOXWIDTH
|
||||
BOXWIDTH=$(($BOXWIDTH*75/100))
|
||||
boxline $(boxtop)
|
||||
for line in "$@" ; do
|
||||
boxline $(boxline "$line")
|
||||
done
|
||||
boxline $(boxbottom)
|
||||
BOXWIDTH=$BOXWIDTH_ORG
|
||||
}
|
||||
|
||||
success(){
|
||||
_line="$@"
|
||||
echo -e "\n"
|
||||
|
|
|
|||
Loading…
Reference in a new issue