[erlang-questions] About Erlang Shell

David Welton <>
Thu Nov 27 11:50:23 CET 2014


You could implement things like clear screen using escape codes:

clear() ->
    io:format("\033[2J").

domove(X, Y) ->
    io:format("\e[~B;~BH", [Y, X]).

On Wed, Nov 26, 2014 at 3:52 PM, 全卓 <> wrote:
> Hi:
>    It will be wonderful If the Erlang shell support clear screen and show
> different type of files in color .
>    Will these features be added in the later Erlang/OTP release?
>
> Regurds
> Quan
>
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>



-- 
David N. Welton

http://www.welton.it/davidw/

http://www.dedasys.com/


More information about the erlang-questions mailing list