From 33480c3702796e09cb9100bb034ca50e62a7706c Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 26 Aug 2024 14:58:34 +0200 Subject: [PATCH] _/append --- spcd/bootstrap.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/spcd/bootstrap.sh b/spcd/bootstrap.sh index f968841..6189b29 100644 --- a/spcd/bootstrap.sh +++ b/spcd/bootstrap.sh @@ -74,7 +74,7 @@ _spcd_banner_add() { else spcd_banner_open fi - spcd_banner_append \ + _spcd_banner_append \ "${spcd_ba__filler}" "${spcd_ba__text}" "${spcd_ba__filler}" fi } @@ -95,7 +95,7 @@ _spcd_banner_add_index() { _spcd_banner_add "${spcd_bai__label}" } -spcd_banner_append() { +_spcd_banner_append() { if [ -n "${3}" ]; then SPCD_BANNER_TOP="${SPCD_BANNER_TOP}${1}" SPCD_BANNER_MIDDLE="${SPCD_BANNER_MIDDLE}${2}" @@ -104,7 +104,7 @@ spcd_banner_append() { } spcd_banner_close() { - spcd_banner_append \ + _spcd_banner_append \ "${SPCD_BANNER_DOWN_AND_LEFT}" \ "${SPCD_BANNER_VERTICAL}" \ "${SPCD_BANNER_UP_AND_LEFT}" @@ -118,7 +118,7 @@ ${SPCD_BANNER_BOTTOM}" } spcd_banner_open() { - spcd_banner_append \ + _spcd_banner_append \ "${SPCD_BANNER_DOWN_AND_RIGHT}" \ "${SPCD_BANNER_VERTICAL}" \ "${SPCD_BANNER_UP_AND_RIGHT}" @@ -143,7 +143,7 @@ spcd_banner_render() { } spcd_banner_split() { - spcd_banner_append \ + _spcd_banner_append \ "${SPCD_BANNER_DOWN_AND_HORIZONTAL}" \ "${SPCD_BANNER_VERTICAL}" \ "${SPCD_BANNER_UP_AND_HORIZONTAL}"