From c973515173ece444a446ba6efe3a8672507e9bb8 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Tue, 5 Dec 2023 22:33:44 -0600 Subject: [PATCH] Update status.inc --- inc/status.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/status.inc b/inc/status.inc index 6cff9547..ce02306f 100755 --- a/inc/status.inc +++ b/inc/status.inc @@ -796,7 +796,7 @@ STATUS_SCANTIMES(){ done average=$(ROUND_NUMBER $(bc <<< "scale=2; ${scantimes_total}/${scansfound}") 0) - cw=20 + cw=30 average_disp=$(SHOW_TIME ${average} s); c=0; spca=''; spc1=${cw}-${#average_disp} until [ $c = ${spc1} ]; do spca="${spca} "; c=`expr $c + 1`; done lastscantime_disp=$(SHOW_TIME ${lastscantime} s); c=0; spcb=''; spc1=${cw}-${#lastscantime_disp} @@ -804,7 +804,7 @@ STATUS_SCANTIMES(){ echo -en "\r\033[K" echo -e "${idsCL[LightCyan]}Average for last '${scansfound}' : ${idsCL[Green]}${average_disp}${spca}(${average}s)${idsCL[Default]}\n" - echo -e "${idsCL[LightCyan]}Last Scan Time : ${idsCL[Green]}$(SHOW_TIME ${lastscantime} s)${spcb}(${lastscantime}s)${idsCL[Default]}\n" + echo -e "${idsCL[LightCyan]}Last Scan Time : ${idsCL[Green]}${lastscantime_disp}${spcb}(${lastscantime}s)${idsCL[Default]}\n" echo -en "${idsCL[LightCyan]}List out these scan times? (y/N): ${idsCL[Default]}" read -n1 choice