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

term.clear() problem

Started by ErolDude, 20 August 2013 - 03:26 PM
ErolDude #1
Posted 20 August 2013 - 05:26 PM
Hey guys! I got an issue here so here it goes:
Whenever i load a picture made with the paint program into my computer like so
image = paintutils.loadImage("imagename")
paintutils.drawImage(image, 1, 5)

and I try clear that image later on in the code using term.clear()
I just get one of the image colors all over the screen instead of a clear surface, so I am asking you for a solution to my conundrum or any other way to clear a image from the terminal. Thanks in advance,
ErolDude
Lyqyd #2
Posted 20 August 2013 - 08:30 PM
Split into new topic.

Use term.setBackgroundColor(colors.black) or whichever color you want before clearing the screen.