This commit is contained in:
Marc Beninca 2024-09-01 16:05:17 +02:00
parent f6bba57159
commit 0c312ed03c
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -27,13 +27,13 @@ _spcd_fill() {
# │ _ │ banner │
# ╰───┴────────╯
_SPCD_BANNER_DOWN_AND_HORIZONTAL="${_SPCD_BOX_DOWN_AND_HORIZONTAL}"
_SPCD_BANNER_DOWN_AND_LEFT="${_SPCD_BOX_DOWN_AND_LEFT}"
_SPCD_BANNER_DOWN_AND_RIGHT="${_SPCD_BOX_DOWN_AND_RIGHT}"
_SPCD_BANNER_BOTTOM_LEFT="${_SPCD_BOX_UP_AND_RIGHT}"
_SPCD_BANNER_BOTTOM_MIDDLE="${_SPCD_BOX_UP_AND_HORIZONTAL}"
_SPCD_BANNER_BOTTOM_RIGHT="${_SPCD_BOX_UP_AND_LEFT}"
_SPCD_BANNER_HORIZONTAL="${_SPCD_BOX_HORIZONTAL}"
_SPCD_BANNER_UP_AND_HORIZONTAL="${_SPCD_BOX_UP_AND_HORIZONTAL}"
_SPCD_BANNER_UP_AND_LEFT="${_SPCD_BOX_UP_AND_LEFT}"
_SPCD_BANNER_UP_AND_RIGHT="${_SPCD_BOX_UP_AND_RIGHT}"
_SPCD_BANNER_TOP_LEFT="${_SPCD_BOX_DOWN_AND_RIGHT}"
_SPCD_BANNER_TOP_MIDDLE="${_SPCD_BOX_DOWN_AND_HORIZONTAL}"
_SPCD_BANNER_TOP_RIGHT="${_SPCD_BOX_DOWN_AND_LEFT}"
_SPCD_BANNER_VERTICAL="${_SPCD_BOX_VERTICAL}"
_spcd_banner_add() {
@ -85,9 +85,9 @@ ${__SPCD_BANNER_BOTTOM}"
_spcd_banner_open() {
_spcd_banner_append \
"${_SPCD_BANNER_DOWN_AND_RIGHT}" \
"${_SPCD_BANNER_TOP_LEFT}" \
"${_SPCD_BANNER_VERTICAL}" \
"${_SPCD_BANNER_UP_AND_RIGHT}"
"${_SPCD_BANNER_BOTTOM_LEFT}"
}
_spcd_banner_render() {
@ -111,16 +111,16 @@ _spcd_banner_render() {
_spcd_banner_shut() {
_spcd_banner_append \
"${_SPCD_BANNER_DOWN_AND_LEFT}" \
"${_SPCD_BANNER_TOP_RIGHT}" \
"${_SPCD_BANNER_VERTICAL}" \
"${_SPCD_BANNER_UP_AND_LEFT}"
"${_SPCD_BANNER_BOTTOM_RIGHT}"
}
_spcd_banner_split() {
_spcd_banner_append \
"${_SPCD_BANNER_DOWN_AND_HORIZONTAL}" \
"${_SPCD_BANNER_TOP_MIDDLE}" \
"${_SPCD_BANNER_VERTICAL}" \
"${_SPCD_BANNER_UP_AND_HORIZONTAL}"
"${_SPCD_BANNER_BOTTOM_MIDDLE}"
}
_spcd_banner_wipe() {