Fix column separation code
This commit is contained in:
parent
db78301f80
commit
823513e474
10
griddle
10
griddle
|
@ -20,11 +20,11 @@ generate_lines() {
|
||||||
width="$3"
|
width="$3"
|
||||||
height="$4"
|
height="$4"
|
||||||
|
|
||||||
#colwidth=$((width / columns))
|
colwidth=$((width / columns))
|
||||||
#for i in $(seq 0 $columns); do
|
for i in $(seq 0 $columns); do
|
||||||
#current_colwidth=$((colwidth * i))
|
current_colwidth=$((colwidth * i))
|
||||||
#printf "line 0, %d %d, %d " $current_colwidth $height $current_colwidth
|
printf "line %d, 0 %d, %d " $current_colwidth $current_colwidth $height
|
||||||
#done
|
done
|
||||||
|
|
||||||
rowheight=$((height / rows))
|
rowheight=$((height / rows))
|
||||||
for i in $(seq 0 $rows); do
|
for i in $(seq 0 $rows); do
|
||||||
|
|
Loading…
Reference in New Issue