term.setBackgroundColor

From ComputerCraft Wiki
Revision as of 21:09, 11 April 2013 by Smiley43210 (Talk | contribs) (Wording doesn't match)

Jump to: navigation, search


Grid Redstone.png  Function term.setBackgroundColor
Changes the background color of text subsequently written to the screen. For ease of use, it is best to use the color codes provided in the colors API.
Syntax term.setBackgroundColor(color code)
Returns None
Part of ComputerCraft
API term

Examples

Grid paper.png  Example
Makes the background of the monitor gray
Code
term.setBackgroundColor(colors.gray)