[erlang-questions] Terminal control codes

Hasan Veldstra hasan.veldstra@REDACTED
Mon Jan 28 00:26:10 CET 2008


This will work on terminals that support ANSI escape sequences:

io:format("\e[H\e[J")

On Windows, os:cmd("cls") should work.


> Seeking for a way to clear terminal for several hours... No success  
> so far...
> So, could anyone tell ho do I do ^L from erlang program (escript  
> actually)?



More information about the erlang-questions mailing list