term.clear

From ComputerCraft Wiki
Revision as of 18:40, 28 November 2012 by AfterLifeLochie (Talk | contribs) (Moved to CAT:APIFunctions)

Jump to: navigation, search


Grid Redstone.png  Function term.clear
Clears the screen
Syntax term.clear(none)
Returns none
Part of ComputerCraft
API term

Examples

Grid paper.png  Example
Clears any text on the console or monitor.
Code
term.clear()
term.setCursorPos(1,1)