From 37668ac48868ed40f472005f978a0094f9355d2f Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 24 Aug 2024 12:14:22 +0200 Subject: [PATCH] spcd_banner_open --- spcd/main.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/spcd/main.sh b/spcd/main.sh index cb2e6f0..9b8769b 100644 --- a/spcd/main.sh +++ b/spcd/main.sh @@ -828,8 +828,7 @@ ${SPCD_PYTHON_ALIAS} / ${spcd_stp__name}" # functions spcd_banner() { - unset SPCD_BANNER_1 SPCD_BANNER_2 SPCD_BANNER_3 - spcd_banner_add_123 "${SPCD_BOX_DOWN}" "${SPCD_VERT}" "${SPCD_BOX_UP}" + spcd_banner_open # spcd_banner__index="${SPCD_STEP}" [ -n "${SPCD_SUBSTEP}" ] && @@ -873,6 +872,11 @@ spcd_banner_close() { spcd_banner_add_123 "╮" "${SPCD_VERT}" "╯" } +spcd_banner_open() { + unset SPCD_BANNER_1 SPCD_BANNER_2 SPCD_BANNER_3 + spcd_banner_add_123 "${SPCD_BOX_DOWN}" "${SPCD_VERT}" "${SPCD_BOX_UP}" +} + spcd_banner_split() { spcd_banner_add_123 "┬" "${SPCD_VERT}" "┴" }