term.clear
From ComputerCraft Wiki
| Clears the screen | |
| Syntax | term.clear() |
| Returns | nil |
| Part of | ComputerCraft |
| API | term |
Examples
| Clears all text on the console or monitor and sets the cursor to coordinate (1, 1) on the screen. | |
| Code |
term.clear() |
| Turns the screen a specified colour | |
| Code |
term.setBackgroundColor(colors.blue) |