From edfe4dd55a4c04b5e6bc9a46db19814e2be96517 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 26 Aug 2024 14:51:20 +0200 Subject: [PATCH] _/add --- spcd/bootstrap.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spcd/bootstrap.sh b/spcd/bootstrap.sh index 366f599..67bd47d 100644 --- a/spcd/bootstrap.sh +++ b/spcd/bootstrap.sh @@ -62,7 +62,7 @@ SPCD_BANNER_UP_AND_LEFT="╯" SPCD_BANNER_UP_AND_RIGHT="╰" SPCD_BANNER_VERTICAL="│" -spcd_banner_add() { +_spcd_banner_add() { if [ -n "${1}" ]; then spcd_ba__text=" ${1} " spcd_ba__length=${#spcd_ba__text} @@ -92,7 +92,7 @@ spcd_banner_add_index() { spcd_bai__label="${spcd_bai__value}" fi done - spcd_banner_add "${spcd_bai__label}" + _spcd_banner_add "${spcd_bai__label}" } spcd_banner_append() { @@ -126,7 +126,7 @@ spcd_banner_open() { spcd_banner_render() { spcd_banner_unset - spcd_banner_add "S" + _spcd_banner_add "S" spcd_banner_add_index # unset spcd_br__level @@ -134,7 +134,7 @@ spcd_banner_render() { spcd_br__level=$((spcd_br__level + 1)) eval "spcd_br__value=\"\${SPCD_STEP_${spcd_br__level}_LABEL}\"" [ -n "${spcd_br__value}" ] || break - spcd_banner_add "${spcd_br__value}" + _spcd_banner_add "${spcd_br__value}" done # spcd_banner_close