spcd_banner_open

This commit is contained in:
Marc Beninca 2024-08-24 12:14:22 +02:00
parent f7ae3796d9
commit 37668ac488
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -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}" "┴"
}