frame/top,bottom
This commit is contained in:
parent
a83a128587
commit
0dd882da0d
2 changed files with 5 additions and 8 deletions
|
@ -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
|
||||||
|
|
|
@ -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}"
|
||||||
}
|
}
|
||||||
|
|
||||||
# ╭──────────┬────╮
|
# ╭──────────┬────╮
|
||||||
|
|
Loading…
Reference in a new issue