mirror of
https://github.com/CDrummond/bliss-analyser.git
synced 2026-10-22 22:32:08 +03:00
Another attempt to fix terminal echo
This commit is contained in:
1 parent
b361948396
commit
e8614340f0
1 file changed
+8
@@ -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);
|
||||||
|
|||||||
Reference in new issue
Block a user