Function endbasic_std::console::read_key_from_stdin
source · Expand description
Reads a single key from stdin when not attached to a TTY. Because characters are not
visible to us until a newline is received, this reads complete lines and buffers them in
memory inside the given buffer
.