Difference between revisions of "Term.setBackgroundColor"
From ComputerCraft Wiki
(Created page with "{{lowercase}} {{Function |name=Term.setBackgroundColor |args= color code |returns=None |api=term |addon=ComputerCraft |desc=changes the color of the backgrou...") |
|||
Line 6: | Line 6: | ||
|api=term | |api=term | ||
|addon=ComputerCraft | |addon=ComputerCraft | ||
− | |desc=changes the color of the background of your | + | |desc=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] |
|examples= | |examples= | ||
{{Example | {{Example | ||
− | |desc=Makes the background of the | + | |desc=Makes the background of the monitor grey,and clear screen for updating |code=term.setBackgroundColor(128)<br>term.clear() |
}} | }} | ||
}} | }} |
Revision as of 07:04, 11 November 2012
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
Example | |
Makes the background of the monitor grey,and clear screen for updating | |
Code |
term.setBackgroundColor(128) |