Another attempt to fix terminal echo

This commit is contained in:
Craig Drummond committed 2022-03-13 08:26:15 +00:00
1 parent b361948396
commit e8614340f0
1 file changed
+8
+8
View File
@@ -211,6 +211,14 @@ pub fn analyze_cue_streaming(tracks: Vec<cue::CueTrack>,) -> BlissResult<Receive
} }
} }
if ! cfg!(windows) {
// ffmpeg seeks to break echo on terminal? 'stty echo' restores...
match Exec::cmd("stty").arg("echo").join() {
Ok(_) => { },
Err(_) => { }
}
}
if tmp_file.exists() { if tmp_file.exists() {
log::debug!("Analyzing '{}'", track_path); log::debug!("Analyzing '{}'", track_path);
let song = Song::new(&tmp_file); let song = Song::new(&tmp_file);