Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How should I do clear screen on ocaml toplevel?

Tags:

ocaml

ledit

I am using ocaml toplevel with ledit (ledit -l 100 ocaml) on Ubuntu 14.04. Since there is no way to do clear screen, all the time, I keep dwelling at the bottom of the screen.

I would like to know if there is a way to do clear screen at toplevel?

Thanks in advance.

Regards.

like image 891
UnSat Avatar asked Dec 08 '22 05:12

UnSat


1 Answers

Sys.command "clear" is quite functional - it clears and returns an int :-)

My favourite is Ctrl+l - unixoides only.

like image 108
Str. Avatar answered Jan 09 '23 07:01

Str.