spcd_banner_split

This commit is contained in:
Marc Beninca 2024-08-24 12:08:30 +02:00
parent f67a9478bb
commit d587944e95
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -838,7 +838,7 @@ spcd_banner() {
#
for spcd_banner__item in "${SPCD_STEP_TEXT}" "${SPCD_SUBSTEP_TEXT}"; do
if [ -n "${spcd_banner__item}" ]; then
spcd_banner_add_123 "┬" "${SPCD_VERT}" "┴"
spcd_banner_split
spcd_banner_add "${spcd_banner__item}"
fi
done
@ -869,6 +869,10 @@ spcd_banner_add_123() {
fi
}
spcd_banner_split() {
spcd_banner_add_123 "┬" "${SPCD_VERT}" "┴"
}
spcd_cat() {
spcd_cat__file="${1}"
if [ -n "${spcd_cat__file}" ]; then