read_yes

Function read_yes 

Source
pub fn read_yes() -> bool
Expand description

Read a line from stdin and check whether the first character is 'y' or 'Y'