and I think it is a problem with the outline of the API. When I run "square", nothings happens.
This is an example function I am using.
square("red" 1, 1, 5, 5)
This is the actual API's code.function square(color, ox, oy, tx, ty)
term.setBackgroundColor(colors[color])
term.setCursorPos(ox, oy)
h = oy - ty
x = tx - ox
for i = 1, h do
x, y = term.getCursorPos()
y = y + 1
term.setCursorPos(x, y)
for i = 1, x do
term.write(" ")
end
end
end
Any help?












