diff --git a/os/os.v b/os/os.v index ae96357d74..b88249bfc4 100644 --- a/os/os.v +++ b/os/os.v @@ -463,3 +463,7 @@ fn on_segfault(f voidptr) { } } +fn clear() { + C.printf('\x1b[2J') + C.printf('\x1b[H') +} \ No newline at end of file