term.setBackgroundColor
From ComputerCraft Wiki
Revision as of 05:01, 26 November 2012 by 85.127.150.143 (Talk)
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
Example | |
Makes the background of the monitor grey | |
Code |
term.setBackgroundColor(colors.gray) |