From bebf8c528e5846ef0f37cfa0039a07236ec14594 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 14 Jun 2025 11:54:11 -0500 Subject: [PATCH] Update default.inc --- default.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/default.inc b/default.inc index 88bfaea..fa83145 100755 --- a/default.inc +++ b/default.inc @@ -218,8 +218,10 @@ DIVIDER(){ else local length=$3 fi 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]}" - [ "${1}" == "true" ] && echo + ([ ${1} -eq 2 ] || [ "${1}" == "true" ]) && echo } DIVIDER_C(){ [ -z ${2+x} ] && clr='yellow' || clr=$2