term.setTextColor
From ComputerCraft Wiki
Revision as of 09:29, 24 November 2012 by 69.10.195.231 (Talk)
Function term.setTextColor | |
Changes the foreground 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.setTextColor(color code) |
Returns | None |
Part of | ComputerCraft |
API | term |
Examples
Example | |
Makes the words Hello World! green. | |
Code |
term.setTextColor(colors.green) |