pub fn read_key_from_stdin(buffer: &mut VecDeque<Key>) -> Result<Key>
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
.