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)
|
height=$(lib/json.sh -s height $file)
|
||||||
width=$(lib/json.sh -s width $file)
|
width=$(lib/json.sh -s width $file)
|
||||||
heighti=0
|
heighti=$height
|
||||||
|
|
||||||
while [ $heighti -ne $height ]
|
while [ $heighti -ne 0 ]
|
||||||
do
|
do
|
||||||
heighti=$((heighti+1))
|
|
||||||
widthi=0
|
widthi=0
|
||||||
while [ $widthi -ne $width ]
|
while [ $widthi -ne $width ]
|
||||||
do
|
do
|
||||||
|
@ -56,6 +55,7 @@ do
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
heighti=$((heighti-1))
|
||||||
printf "\033[m\n"
|
printf "\033[m\n"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Reference in New Issue