banner/vertical

This commit is contained in:
Marc Beninca 2024-08-25 12:09:49 +02:00
parent c998143933
commit 00daad9731
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

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