Fix empty retry in Windows

This commit is contained in:
Roey Darwish Dror
2018-10-17 14:14:01 +03:00
parent a6b6b7aa4e
commit e5489270df

View File

@@ -87,7 +87,7 @@ impl Terminal {
match Term::stdout().read_char()? {
'y' | 'Y' => return Ok(true),
'n' | 'N' | '\n' => return Ok(false),
'n' | 'N' | '\r' | '\n' => return Ok(false),
_ => (),
}
}