terminal codes

Steve Davis steven.charles.davis@REDACTED
Sat May 1 15:44:45 CEST 2010


Not sure if this is the answer you are looking for, but you can
"print" control codes...

io:format(<<"\0">>, []).

/s

On May 1, 8:30 am, Henning Diedrich <hd2...@REDACTED> wrote:
> Can I print terminal color codes out of Erlang?
>
> E.g. \e[30m?
>
> The io: functions seem to force control codes to be printable.
>
> Thanks!
> Henning
>
> --
> You received this message because you are subscribed to the Google Groups "Erlang Programming" group.
> To post to this group, send email to erlang-programming@REDACTED
> To unsubscribe from this group, send email to erlang-programming+unsubscribe@REDACTED
> For more options, visit this group athttp://groups.google.com/group/erlang-programming?hl=en.


More information about the erlang-questions mailing list