pub fn read_key() -> Result<Key>
The read_key function reads a single key event from the console input and returns a Key enum.
read_key
Key