Difference between revisions of "TextDisplay.clear"

From MiniScript Wiki
Jump to navigation Jump to search
 
Line 4: Line 4:
  
 
=== Usage Notes ===
 
=== Usage Notes ===
This method does **not** change the cursor
+
This method does ''not'' change the cursor
 
position, nor does it reset TextDisplay.delimiter.
 
position, nor does it reset TextDisplay.delimiter.
  

Latest revision as of 15:00, 2 April 2020

TextDisplay.clear clears the text display, setting all cells to " " (space), with inverse turned off and all cell colors set to the match the display properties.

Usage Notes

This method does not change the cursor position, nor does it reset TextDisplay.delimiter.

Example

text.clear   // clears the default text display