premake/website/docs/term.getTextColor.md
2021-03-12 22:10:24 +01:00

564 B

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.