From 0dd882da0d100bb75bddcc49c2cb339fa9425b0a Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 26 Aug 2024 14:07:01 +0200 Subject: [PATCH] frame/top,bottom --- readme.md | 5 +---- spcd/bootstrap.sh | 8 ++++---- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/readme.md b/readme.md index 8bb324b..559e788 100644 --- a/readme.md +++ b/readme.md @@ -213,11 +213,8 @@ Handle project workflows in a unified way: ### Shell -* banner - * constants for characters - * dynamic substeps * comment -* frame corners +* drawing characters constants * packages * configure * apk diff --git a/spcd/bootstrap.sh b/spcd/bootstrap.sh index 6936a8e..d78577b 100644 --- a/spcd/bootstrap.sh +++ b/spcd/bootstrap.sh @@ -163,15 +163,15 @@ SPCD_ERROR_OS=2 # │ internal │ frame │ # ╰──────────┴───────╯ -SPCD_FRAME_DOWN_AND_RIGHT="╭" -SPCD_FRAME_UP_AND_RIGHT="╰" +SPCD_FRAME_TOP="╭╴" +SPCD_FRAME_BOTTOM="╰╴" spcd_frame_open() { - echo "${SPCD_FRAME_DOWN_AND_RIGHT}${1}" + echo "${SPCD_FRAME_TOP}${1}" } spcd_frame_shut() { - echo "${SPCD_FRAME_UP_AND_RIGHT}${1}" + echo "${SPCD_FRAME_BOTTOM}${1}" } # ╭──────────┬────╮