TextDisplay.inverse

From MiniScript Wiki
Revision as of 15:03, 2 April 2020 by JoeStrout (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

TextDisplay.inverse gets or sets whether subsequent printing should be done in "inverse" mode, where the foreground and background colors are swapped.

Usage Notes

This mode may also be controlled by printing two special characters: char(134) sets inverse to true, and char(135) sets inverse to false.)

Example

text.inverse = true; print " BLOCKY "; text.inverse = false