banner/index

This commit is contained in:
Marc Beninca 2024-08-25 17:06:30 +02:00
parent b4a2a647cd
commit eb843769dd
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -1119,12 +1119,7 @@ SPCD_BANNER_VERTICAL="│"
spcd_banner() { spcd_banner() {
spcd_banner_unset spcd_banner_unset
# spcd_banner_add "$(spcd_banner_index)"
spcd_banner__index="${SPCD_STEP}"
[ -n "${SPCD_SUBSTEP}" ] &&
spcd_banner__index="${spcd_banner__index}.${SPCD_SUBSTEP}"
spcd_banner_add "${spcd_banner__index}"
#
spcd_banner_add "S" spcd_banner_add "S"
# #
for spcd_banner__item in "${SPCD_STEP_TEXT}" "${SPCD_SUBSTEP_TEXT}"; do for spcd_banner__item in "${SPCD_STEP_TEXT}" "${SPCD_SUBSTEP_TEXT}"; do