internals

This commit is contained in:
Marc Beninca 2024-08-26 14:39:29 +02:00
parent f5402050c0
commit bf680b6fda
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -31,9 +31,9 @@
[ -n "${SPCD_URL_UBUNTU}" ] ||
SPCD_URL_UBUNTU="https://ubuntu.mirrors.ovh.net"
# ╭──────────
# │ internal
# ╰──────────
# ╭──────────
# │ internals
# ╰──────────
spcd_fill() {
spcd_fill__index=${1}
@ -43,9 +43,9 @@ spcd_fill() {
done
}
# ╭──────────┬────────╮
# │ internal │ banner │
# ╰──────────┴────────╯
# ╭──────────┬────────╮
# │ internals │ banner │
# ╰──────────┴────────╯
SPCD_BANNER_DOWN_AND_HORIZONTAL="┬"
SPCD_BANNER_DOWN_AND_LEFT="╮"
@ -150,16 +150,16 @@ spcd_banner_unset() {
SPCD_BANNER_BOTTOM
}
# ╭──────────┬───────╮
# │ internal │ error │
# ╰──────────┴───────╯
# ╭──────────┬───────╮
# │ internals │ error │
# ╰──────────┴───────╯
SPCD_ERROR_CI=1
SPCD_ERROR_OS=2
# ╭──────────┬───────╮
# │ internal │ frame │
# ╰──────────┴───────╯
# ╭──────────┬───────╮
# │ internals │ frame │
# ╰──────────┴───────╯
_SPCD_FRAME_TOP="╭╴"
_SPCD_FRAME_BOTTOM="╰╴"
@ -172,9 +172,9 @@ _spcd_frame_shut() {
echo "${_SPCD_FRAME_BOTTOM}${1}"
}
# ╭──────────┬────╮
# │ internal │ os │
# ╰──────────┴────╯
# ╭──────────┬────╮
# │ internals │ os │
# ╰──────────┴────╯
_spcd_os_cat() {
spcd_cat__file="${1}"
@ -185,17 +185,17 @@ _spcd_os_cat() {
fi
}
# ╭──────────┬──────╮
# │ internal │ rule │
# ╰──────────┴──────╯
# ╭──────────┬──────╮
# │ internals │ rule │
# ╰──────────┴──────╯
_SPCD_RULE_LEFT="╶"
_SPCD_RULE_MIDDLE="─"
_SPCD_RULE_RIGHT="╴"
# ╭──────────┬──────╮
# │ internal │ step │
# ╰──────────┴──────╯
# ╭──────────┬──────╮
# │ internals │ step │
# ╰──────────┴──────╯
_SPCD_STEP_LEVEL=1