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

Background for one cell on the screen

Started by Jasonfran, 27 October 2012 - 04:24 PM
Jasonfran #1
Posted 27 October 2012 - 06:24 PM
How do I set the background for one cell. I can only find the function to set the whole background colour.
Goof #2
Posted 27 October 2012 - 06:31 PM
in my program, i only do something like this:


term.setBackgroundColor(colors.red) – sets the backgroundcolor for the current pixel, until the screen will refresh - that is for example Clearing the screen with term.clear() or something else….
term.setCursorPos(10,10)
print("Hello") – prints "hello" at pos 10,10


then it would look like this: