Skip to content

Commit

Permalink
Math is hard.
Browse files Browse the repository at this point in the history
  • Loading branch information
swelljoe committed Apr 29, 2017
1 parent bc751f6 commit a216f07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ run_ok () {
if [ $columns -ge 80 ]; then
columns=80
fi
COL=$(( ${columns}-${#msg}+${#GREENBG}+${#NORMAL}-1 ))
COL=$(( ${columns}-${#msg}-${#GREENBG}-${#NORMAL}-1 ))

printf "%s%${COL}s" "$2"
# Make sure there some unicode action in the shell; there's no
Expand Down

0 comments on commit a216f07

Please sign in to comment.