From d587944e95a22f91414c1f0d2d5e084ccd502d6f Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 24 Aug 2024 12:08:30 +0200 Subject: [PATCH] spcd_banner_split --- spcd/main.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/spcd/main.sh b/spcd/main.sh index 9980062..cdaec4e 100644 --- a/spcd/main.sh +++ b/spcd/main.sh @@ -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