mirror of
https://github.com/CDrummond/bliss-analyser.git
synced 2025-04-08 05:00:02 +03:00
Only invoke "stty sane" if not Windows.
This commit is contained in:
parent
2ac4b9d17f
commit
c6f9a7faf5
@ -172,10 +172,12 @@ pub fn analyse_new_files(db: &db::Db, mpath: &PathBuf, track_paths: Vec<String>,
|
||||
}
|
||||
|
||||
// Reset terminal, otherwise typed output does not show? Perhaps Linux only...
|
||||
match std::process::Command::new("stty").arg("sane").spawn() {
|
||||
Ok(_) => { },
|
||||
Err(_) => { },
|
||||
};
|
||||
if ! cfg!(windows) {
|
||||
match std::process::Command::new("stty").arg("sane").spawn() {
|
||||
Ok(_) => { },
|
||||
Err(_) => { },
|
||||
};
|
||||
}
|
||||
|
||||
progress.finish_with_message("Finished!");
|
||||
log::info!("{} Analysed. {} Failure(s).", analysed, failed.len());
|
||||
|
Loading…
x
Reference in New Issue
Block a user