Merge pull request #73 from mcgoo/master

fix screen clearing on windows
This commit is contained in:
Matt Green 2017-12-06 15:38:25 -05:00 committed by GitHub
commit b9822266db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ pub struct Args {
#[cfg(target_family = "windows")]
pub fn clear_screen() {
let _ = Command::new("cls").status();
let _ = Command::new("cmd").arg("/c").arg("cls").status();
}
#[cfg(target_family = "unix")]