This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
H4X0RZ's profile picture

Is there another way to set the whole backgroundcolor?

Started by H4X0RZ, 21 April 2013 - 03:22 AM
H4X0RZ #1
Posted 21 April 2013 - 05:22 AM
Actually I use

x,y = term.getSize()
term.setCursorPos(1,1)
term.setBackgroundColor(colors.orange)
for i = 1, x*y, 1 do
print(" ")
end
term.setCursorPos(1,1)

Is there a simpler way than my ??

thanks for reading
-Freack100-
theoriginalbit #2
Posted 21 April 2013 - 05:24 AM

term.setBackgroundColour(colours.orange)
term.clear()
term.clear does virtually the same thing you do there
H4X0RZ #3
Posted 21 April 2013 - 05:34 AM

term.setBackgroundColour(colours.orange)
term.clear()
term.clear does virtually the same thing you do there
Thanks a lot :)/>