Function uucore::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'