From a3755547b5adea5d1ceb07c327dafd9ed0f2cc6e Mon Sep 17 00:00:00 2001 From: Joe cooper Date: Mon, 1 May 2017 02:08:50 -0500 Subject: [PATCH] Maybe fix the cols calculation --- slib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slib.sh b/slib.sh index 4a4be8a..6f51c2d 100644 --- a/slib.sh +++ b/slib.sh @@ -305,7 +305,7 @@ run_ok () { if [ $columns -ge 80 ]; then columns=80 fi - COL=$(( ${columns}-${#msg}-${#GREENBG}-${#NORMAL}-1 )) + COL=$(( ${columns}-${#msg}-1 )) printf "%s%${COL}s" "$2" # Make sure there some unicode action in the shell; there's no