frame/top,bottom

This commit is contained in:
Marc Beninca 2024-08-26 14:07:01 +02:00
parent a83a128587
commit 0dd882da0d
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
2 changed files with 5 additions and 8 deletions

View file

@ -213,11 +213,8 @@ Handle project workflows in a unified way:
### Shell ### Shell
* banner
* constants for characters
* dynamic substeps
* comment * comment
* frame corners * drawing characters constants
* packages * packages
* configure * configure
* apk * apk

View file

@ -163,15 +163,15 @@ SPCD_ERROR_OS=2
# │ internal │ frame │ # │ internal │ frame │
# ╰──────────┴───────╯ # ╰──────────┴───────╯
SPCD_FRAME_DOWN_AND_RIGHT="╭" SPCD_FRAME_TOP="╭╴"
SPCD_FRAME_UP_AND_RIGHT="╰" SPCD_FRAME_BOTTOM="╰╴"
spcd_frame_open() { spcd_frame_open() {
echo "${SPCD_FRAME_DOWN_AND_RIGHT}${1}" echo "${SPCD_FRAME_TOP}${1}"
} }
spcd_frame_shut() { spcd_frame_shut() {
echo "${SPCD_FRAME_UP_AND_RIGHT}${1}" echo "${SPCD_FRAME_BOTTOM}${1}"
} }
# ╭──────────┬────╮ # ╭──────────┬────╮