How to print escape?

Chris Moline uglydaemon@REDACTED
Thu Apr 18 02:28:55 CEST 2002

hi, to learn erlang i am implementing a simple rogue-like game. my 
problem is that i cant seem to print escape. i have tried

io:fwrite("~c[34m", [27]).
io:format("~c[34m", [27]).

all three of them print ^[[34m instead of causing the foreground color 
to become blue. how can i fix this?

chris moline

More information about the erlang-questions mailing list