read_key

Function read_key 

Source
pub fn read_key() -> Result<Key>
Expand description

Reads a single key event from the console input and returns a Key enum.