Difference between revisions of "Term.clear"
From ComputerCraft Wiki
m (moved Term.clear() to Term.clear) |
|||
Line 10: | Line 10: | ||
{{Example | {{Example | ||
|desc=Clears any text on the console or monitor. | |desc=Clears any text on the console or monitor. | ||
− | |code=term.clear() | + | |code=term.clear()<br />term.setCursorPos(1,1) |
}} | }} | ||
}} | }} |
Revision as of 19:08, 2 September 2012
Function term.clear | |
Clears the screen | |
Syntax | term.clear(none) |
Returns | none |
Part of | ComputerCraft |
API | term |
Examples
Example | |
Clears any text on the console or monitor. | |
Code |
term.clear() |