term.setBackgroundColor

From ComputerCraft Wiki
Revision as of 15:23, 17 November 2012 by 67.189.72.22 (Talk)

Jump to: navigation, search


Grid Redstone.png  Function term.setBackgroundColor
changes the color of the background of your terminal/monitor (For common use add the decimal code of the color) [Does not change previously printed text's background]
Syntax term.setBackgroundColor(color code)
Returns None
Part of ComputerCraft
API term

Examples

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