-
-
Notifications
You must be signed in to change notification settings - Fork 618
term.pushColor
starkos edited this page Apr 10, 2021
·
6 revisions
This wiki is no longer being maintained.
Saves the current text color state and changes the color of future text printed to the console. Use term.popColor to restore the previous color setting.
term.pushColor(color)
-
color
- See the listing in term.setTextColor
-- set text to green
term.pushColor(term.green)
print("Hello World")
Premake 5.0.0 alpha 12 or later.