term.setBackgroundColor

From ComputerCraft Wiki
Revision as of 07:04, 11 November 2012 by 81.245.134.150 (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) [Need screen refresh,with term.clear() by example]
Syntax Term.setBackgroundColor(color code)
Returns None
Part of ComputerCraft
API term

Examples

Grid paper.png  Example
Makes the background of the monitor grey,and clear screen for updating
Code
term.setBackgroundColor(128)
term.clear()