std::io

readline

macro String? readline(Allocator allocator, stream = io::stdin())
Read from a stream (default is stdin) to the next "\n"
or to the end of the stream, whatever comes first.
"\r" will be filtered from the String.

Parameters