From 00daad9731566181a0585ad55e5de6c666809ea6 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 25 Aug 2024 12:09:49 +0200 Subject: [PATCH] banner/vertical --- spcd/main.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/spcd/main.sh b/spcd/main.sh index a902f05..cafe55f 100644 --- a/spcd/main.sh +++ b/spcd/main.sh @@ -1101,6 +1101,7 @@ SPCD_BANNER=1 SPCD_BANNER_HORIZONTAL="─" SPCD_BANNER_DOWN_AND_HORIZONTAL="┬" SPCD_BANNER_UP_AND_HORIZONTAL="┴" +SPCD_BANNER_VERTICAL="│" spcd_banner() { spcd_banner_unset @@ -1148,7 +1149,7 @@ spcd_banner_append() { } spcd_banner_close() { - spcd_banner_append "╮" "${SPCD_VERT}" "╯" + spcd_banner_append "╮" "${SPCD_BANNER_VERTICAL}" "╯" } spcd_banner_echo() { @@ -1159,13 +1160,14 @@ ${SPCD_BANNER_BOTTOM}" } spcd_banner_open() { - spcd_banner_append "${SPCD_BOX_DOWN}" "${SPCD_VERT}" "${SPCD_BOX_UP}" + spcd_banner_append \ + "${SPCD_BOX_DOWN}" "${SPCD_BANNER_VERTICAL}" "${SPCD_BOX_UP}" } spcd_banner_split() { spcd_banner_append \ "${SPCD_BANNER_DOWN_AND_HORIZONTAL}" \ - "${SPCD_VERT}" \ + "${SPCD_BANNER_VERTICAL}" \ "${SPCD_BANNER_UP_AND_HORIZONTAL}" }