fn print_redirect_protection(tmp_dir: &PathBuf) {
        let d = tmp_dir.clone().join("DO-NOT-REDIRECT-OUTSIDE-OF-NVIM-TERM(--help[-W])");
        if let Err(e) = std::fs::create_dir_all(&d) {
            panic!("Cannot create protection directory '{}': {:?}", d.display(), e)
        }
        println!("{}", d.to_string_lossy());
    }
/// This is hack to prevent behavior (or bug) in some shells (see --help[-W])
This is hack to prevent behavior (or bug) in some shells
This is hack to prevent behavior ( or bug ) in some shells
fn print_redirect_protection(tmp_dir: &PathBuf) {
        let d = tmp_dir.clone().join("DO-NOT-REDIRECT-OUTSIDE-OF-NVIM-TERM(--help[-W])");
        if let Err(e) = std::fs::create_dir_all(&d) {
            panic!("Cannot create protection directory '{}': {:?}", d.display(), e)
        }
        println!("{}", d.to_string_lossy());
    }
fn print_redirect_protection ( tmp_dir : & PathBuf ) { let d = tmp_dir . clone ( ) . join ( " " ) ; if let Err ( e ) = std :: fs :: create_dir_all ( & d ) { panic ! ( " " d display ( ) e ) } println ! ( " " d to_string_lossy ( ) ) ; }
This is hack to prevent behavior (or bug) in some shells (see --help[-W])
This is hack to prevent behavior ( or bug ) in some shells ( see -- help [ - W ] )
tmp_dir
&PathBuf
tmp_dir
&PathBuf