Console module

console:clear

Clear the terminal on Windows and Posix.

Parameters

Return value nil

Author

Example

(import console)
(print "hello world")  # hello world is printed
(console:clear)        # now the whole terminal is empty and nothing is printed