banner/render
This commit is contained in:
parent
f257864aba
commit
cd2f40f398
1 changed files with 6 additions and 5 deletions
|
@ -83,12 +83,13 @@ _spcd_banner_render() {
|
|||
_spcd_banner_add "S"
|
||||
_spcd_banner_add_index
|
||||
#
|
||||
unset spcd_br__level
|
||||
local level
|
||||
local value
|
||||
while true; do
|
||||
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}"
|
||||
level=$((level + 1))
|
||||
eval "value=\"\${__SPCD_STEP_${level}_LABEL}\""
|
||||
[ -n "${value}" ] || break
|
||||
_spcd_banner_add "${value}"
|
||||
done
|
||||
#
|
||||
_spcd_banner_shut
|
||||
|
|
Loading…
Reference in a new issue