Compare commits

...

2 commits

Author SHA1 Message Date
f67a9478bb
spcd_banner/boxes
All checks were successful
/ job (push) Successful in 11m57s
2024-08-23 23:29:51 +02:00
8d39e3e0f3
spcd_banner/item 2024-08-23 23:25:48 +02:00

View file

@ -829,7 +829,7 @@ ${SPCD_PYTHON_ALIAS} / ${spcd_stp__name}"
spcd_banner() { spcd_banner() {
unset SPCD_BANNER_1 SPCD_BANNER_2 SPCD_BANNER_3 unset SPCD_BANNER_1 SPCD_BANNER_2 SPCD_BANNER_3
spcd_banner_add_123 "${SPCD_DOWN}" "${SPCD_VERT}" "${SPCD___UP}" spcd_banner_add_123 "${SPCD_BOX_DOWN}" "${SPCD_VERT}" "${SPCD_BOX_UP}"
# #
spcd_banner__index="${SPCD_STEP}" spcd_banner__index="${SPCD_STEP}"
[ -n "${SPCD_SUBSTEP}" ] && [ -n "${SPCD_SUBSTEP}" ] &&
@ -837,8 +837,10 @@ spcd_banner() {
spcd_banner_add "${spcd_banner__index}" spcd_banner_add "${spcd_banner__index}"
# #
for spcd_banner__item in "${SPCD_STEP_TEXT}" "${SPCD_SUBSTEP_TEXT}"; do for spcd_banner__item in "${SPCD_STEP_TEXT}" "${SPCD_SUBSTEP_TEXT}"; do
spcd_banner_add_123 "┬" "${SPCD_VERT}" "┴" if [ -n "${spcd_banner__item}" ]; then
spcd_banner_add "${spcd_banner__item}" spcd_banner_add_123 "┬" "${SPCD_VERT}" "┴"
spcd_banner_add "${spcd_banner__item}"
fi
done done
# #
spcd_banner_add_123 "╮" "${SPCD_VERT}" "╯" spcd_banner_add_123 "╮" "${SPCD_VERT}" "╯"