-
-
Notifications
You must be signed in to change notification settings - Fork 616
term.popColor
starkos edited this page Apr 10, 2021
·
4 revisions
This wiki is no longer being maintained.
Returns the current console color setting and restores the previously saved color setting saved by the last call of term.pushColor
term.popColor()
None
-
nil
if the color stack is empty. - The current color setting. One of the color values listed in term.setTextColor
local currentColor = term.popColor()
print("Last color setting was: " .. currentColor)
Premake 5.0.0 alpha 12 or later.