Print a newline after the retry question
This commit is contained in:
committed by
Your Name
parent
6108637477
commit
590d166bac
@@ -29,10 +29,12 @@ test_script:
|
||||
- if [%APPVEYOR_REPO_TAG%]==[false] (
|
||||
cargo check --target %TARGET% &&
|
||||
cargo check --target %TARGET% --release
|
||||
cargo check --target %TARGET% --all-features &&
|
||||
cargo check --target %TARGET% --all-features --release
|
||||
)
|
||||
|
||||
before_deploy:
|
||||
- cargo rustc --target %TARGET% --release --bin topgrade -- -C lto
|
||||
- cargo rustc --target %TARGET% --release --bin topgrade --all-features -- -C lto
|
||||
- ps: ci\before_deploy.ps1
|
||||
|
||||
deploy:
|
||||
|
||||
@@ -78,7 +78,9 @@ impl Terminal {
|
||||
.bold()
|
||||
)).ok();
|
||||
|
||||
match self.term.read_char()? {
|
||||
let answer = self.term.read_char()?;
|
||||
println!();
|
||||
match answer {
|
||||
'y' | 'Y' => return Ok(true),
|
||||
'n' | 'N' | '\r' | '\n' => return Ok(false),
|
||||
_ => (),
|
||||
|
||||
Reference in New Issue
Block a user