Simon Watson 2 years ago
parent
commit
a0e38d6244
1 changed files with 4 additions and 0 deletions
  1. 4 0
      fin-lisp.lisp

+ 4 - 0
fin-lisp.lisp

@@ -98,6 +98,10 @@
       (format t "Invalid input: ~a ~%" ,error-string)
       (values 0 e))))
 
+;; Util screen clearer
+(defun cls()
+  (format t "~A[H~@*~A[J" #\escape))
+
 ;; Entry point
 (defun main ()
   (format t "~%")