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() {
|
_spcd_banner_add() {
|
||||||
if [ -n "${1}" ]; then
|
if [ -n "${1}" ]; then
|
||||||
local text=" ${1} "
|
local text length filler
|
||||||
local length=${#text}
|
text=" ${1} "
|
||||||
local filler="$(_spcd_fill "${length}" "${_SPCD_BANNER_HORIZONTAL}")"
|
length=${#text}
|
||||||
|
filler="$(_spcd_fill "${length}" "${_SPCD_BANNER_HORIZONTAL}")"
|
||||||
if [ -n "${__SPCD_BANNER_MIDDLE}" ]; then
|
if [ -n "${__SPCD_BANNER_MIDDLE}" ]; then
|
||||||
_spcd_banner_split
|
_spcd_banner_split
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue