filler
This commit is contained in:
parent
da24f0ccd8
commit
88f3f036b0
1 changed files with 4 additions and 3 deletions
|
@ -27,9 +27,10 @@ _SPCD_BANNER_VERTICAL="│"
|
|||
|
||||
_spcd_banner_add() {
|
||||
if [ -n "${1}" ]; then
|
||||
local text=" ${1} "
|
||||
local length=${#text}
|
||||
local filler="$(_spcd_fill "${length}" "${_SPCD_BANNER_HORIZONTAL}")"
|
||||
local text length filler
|
||||
text=" ${1} "
|
||||
length=${#text}
|
||||
filler="$(_spcd_fill "${length}" "${_SPCD_BANNER_HORIZONTAL}")"
|
||||
if [ -n "${__SPCD_BANNER_MIDDLE}" ]; then
|
||||
_spcd_banner_split
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue