frame
This commit is contained in:
parent
0c312ed03c
commit
cb52cf2488
1 changed files with 3 additions and 2 deletions
|
@ -8,6 +8,7 @@ _SPCD_BOX_DOWN_AND_HORIZONTAL="┬"
|
|||
_SPCD_BOX_DOWN_AND_LEFT="╮"
|
||||
_SPCD_BOX_DOWN_AND_RIGHT="╭"
|
||||
_SPCD_BOX_HORIZONTAL="─"
|
||||
_SPCD_BOX_LEFT="╴"
|
||||
_SPCD_BOX_UP_AND_HORIZONTAL="┴"
|
||||
_SPCD_BOX_UP_AND_LEFT="╯"
|
||||
_SPCD_BOX_UP_AND_RIGHT="╰"
|
||||
|
@ -141,8 +142,8 @@ _SPCD_ERROR_OS=2
|
|||
# │ _ │ frame │
|
||||
# ╰───┴───────╯
|
||||
|
||||
_SPCD_FRAME_TOP="╭╴"
|
||||
_SPCD_FRAME_BOTTOM="╰╴"
|
||||
_SPCD_FRAME_TOP="${_SPCD_BOX_DOWN_AND_RIGHT}${_SPCD_BOX_LEFT}"
|
||||
_SPCD_FRAME_BOTTOM="${_SPCD_BOX_UP_AND_RIGHT}${_SPCD_BOX_LEFT}"
|
||||
|
||||
_spcd_frame_open() {
|
||||
echo "${_SPCD_FRAME_TOP}${1}"
|
||||
|
|
Loading…
Reference in a new issue