IO.gets
You're seeing just the function
gets, go back to IO module for more information.
Specs
gets(device(), chardata() | String.Chars.t()) :: chardata() | nodata()
Reads a line from the IO device.
It returns:
data- the characters in the line terminated by a line-feed (LF) or end of file (EOF):eof- end of file was encountered{:error, reason}- other (rare) error condition; for instance,{:error, :estale}if reading from an NFS volume
Examples
To display "What is your name?" as a prompt and await user input:
IO.gets("What is your name?\n")