Skip to content

Commit

Permalink
Maybe fix the cols calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
swelljoe committed May 1, 2017
1 parent a216f07 commit a375554
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}-1 ))

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

0 comments on commit a375554

Please sign in to comment.