TextDisplay.inverse

From MiniScript Wiki
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