Reversed the Y axis-- boards rendered upside down! :p
This commit is contained in:
parent
15e598ed64
commit
229293517a
|
@ -11,11 +11,10 @@ file=$1
|
|||
|
||||
height=$(lib/json.sh -s height $file)
|
||||
width=$(lib/json.sh -s width $file)
|
||||
heighti=0
|
||||
heighti=$height
|
||||
|
||||
while [ $heighti -ne $height ]
|
||||
while [ $heighti -ne 0 ]
|
||||
do
|
||||
heighti=$((heighti+1))
|
||||
widthi=0
|
||||
while [ $widthi -ne $width ]
|
||||
do
|
||||
|
@ -56,6 +55,7 @@ do
|
|||
fi
|
||||
fi
|
||||
done
|
||||
heighti=$((heighti-1))
|
||||
printf "\033[m\n"
|
||||
done
|
||||
|
||||
|
|
Reference in New Issue