Skip to content

term.getTextColor

starkos edited this page Apr 10, 2021 · 3 revisions

⚠️ We have a new website! Visit now for the most update to date documentation.
       This wiki is no longer being maintained.


Retrieves the current color setting of text printed to the console

term.getTextColor()

Parameters

None

Return Value

The current color setting. One of the color values listed in term.setTextColor

Example

local currentColor = term.getTextColor()
print("Current color setting is: " .. currentColor)

See Also

Availability

Premake 5.0.0 alpha 12 or later.

Clone this wiki locally