Merge pull request #72 from jmgao/master

Use `tput reset` to clear screen.
This commit is contained in:
Matt Green 2017-11-30 12:39:33 -05:00 committed by GitHub
commit 1456fa2ee9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ pub fn clear_screen() {
#[cfg(target_family = "unix")]
pub fn clear_screen() {
let _ = Command::new("clear").status();
let _ = Command::new("tput").arg("reset").status();
}
#[allow(unknown_lints)]