term.setBackgroundColour

From ComputerCraft
Jump to navigation Jump to search

term.setBackgroundColour
Function
Syntax
term.setBackgroundColour()
Returns nil
API term
Source CC:Tweaked (source)

Sets the background colour of the terminal object. All text written after calling this function will have this background colour, until it is changed again.

Error creating thumbnail: Unable to save thumbnail to destination
ExampleSet background colour
Prints "Hello, world!" with a green background.
Code
term.setBackgroundColour(colours.green)
print("Hello, world!")
Output
Error creating thumbnail: Unable to save thumbnail to destination