term.clearLine
From ComputerCraft Wiki
Function term.clearLine | |
Clears the line that the cursor is currently on. That line is then filled with the color set by term.setBackgroundColor (only if computer supports that color) | |
Syntax | term.clearLine() |
Returns | None |
Part of | ComputerCraft |
API | term |
Examples
Example | |
Clears the first line on the computer screen. | |
Code |
term.setCursorPos(1, 1) term.clearLine() |