_/add
This commit is contained in:
parent
3305069fea
commit
edfe4dd55a
1 changed files with 4 additions and 4 deletions
|
@ -62,7 +62,7 @@ SPCD_BANNER_UP_AND_LEFT="╯"
|
|||
SPCD_BANNER_UP_AND_RIGHT="╰"
|
||||
SPCD_BANNER_VERTICAL="│"
|
||||
|
||||
spcd_banner_add() {
|
||||
_spcd_banner_add() {
|
||||
if [ -n "${1}" ]; then
|
||||
spcd_ba__text=" ${1} "
|
||||
spcd_ba__length=${#spcd_ba__text}
|
||||
|
@ -92,7 +92,7 @@ spcd_banner_add_index() {
|
|||
spcd_bai__label="${spcd_bai__value}"
|
||||
fi
|
||||
done
|
||||
spcd_banner_add "${spcd_bai__label}"
|
||||
_spcd_banner_add "${spcd_bai__label}"
|
||||
}
|
||||
|
||||
spcd_banner_append() {
|
||||
|
@ -126,7 +126,7 @@ spcd_banner_open() {
|
|||
|
||||
spcd_banner_render() {
|
||||
spcd_banner_unset
|
||||
spcd_banner_add "S"
|
||||
_spcd_banner_add "S"
|
||||
spcd_banner_add_index
|
||||
#
|
||||
unset spcd_br__level
|
||||
|
@ -134,7 +134,7 @@ spcd_banner_render() {
|
|||
spcd_br__level=$((spcd_br__level + 1))
|
||||
eval "spcd_br__value=\"\${SPCD_STEP_${spcd_br__level}_LABEL}\""
|
||||
[ -n "${spcd_br__value}" ] || break
|
||||
spcd_banner_add "${spcd_br__value}"
|
||||
_spcd_banner_add "${spcd_br__value}"
|
||||
done
|
||||
#
|
||||
spcd_banner_close
|
||||
|
|
Loading…
Reference in a new issue