Update default.inc

This commit is contained in:
2025-06-14 11:54:11 -05:00
parent 216d954a06
commit bebf8c528e

View File

@@ -218,8 +218,10 @@ DIVIDER(){
else local length=$3 else local length=$3
fi fi
local c=0; local dashes=''; until [ $c = ${length} ]; do local dashes="${dashes}-"; local c=`expr $c + 1`; done local c=0; local dashes=''; until [ $c = ${length} ]; do local dashes="${dashes}-"; local c=`expr $c + 1`; done
[ ${1} -eq 1 ]) && echo
[ "${clr}" == "." ] && echo ${dashes} || echo -e "${idsCL[${clr~}]}${dashes}${idsCL[Default]}" [ "${clr}" == "." ] && echo ${dashes} || echo -e "${idsCL[${clr~}]}${dashes}${idsCL[Default]}"
[ "${1}" == "true" ] && echo ([ ${1} -eq 2 ] || [ "${1}" == "true" ]) && echo
} }
DIVIDER_C(){ DIVIDER_C(){
[ -z ${2+x} ] && clr='yellow' || clr=$2 [ -z ${2+x} ] && clr='yellow' || clr=$2