Last updated 1 year ago
Was this helpful?
Using a cached-function:
Directly invoking the `clear` command:
Alternatively, without reliance on the command line:
func clear { print(static x = `clear`) } clear()
Sys.run('clear')
print "\e[3J\e[H\e[2J"