[erlang-questions] Read only 1 character from STDin without requiring Return

qp quantumpotato@REDACTED
Sun Mar 12 19:19:22 CET 2017


I'm looking at the `io` module http://erlang.org/doc/man/io.html#read-1

and finding that reading input uses a Prompt and waits for the user to
press Enter (Return?).

How do read 1 character at a time without requiring the enter press?




I tried
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20170312/7f5baee5/attachment.htm>


More information about the erlang-questions mailing list