Merge pull request #298 from DenSA-Inc/tty-fix

fixed issue of terminal programs like fzf not recognizing stdin as terminal (#267)
This commit is contained in:
Denis Isidoro 2020-03-20 13:22:01 -03:00 committed by GitHub
commit a0636b1261
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -187,7 +187,8 @@ pub fn main(variant: Variant, config: Config, contains_key: bool) -> Result<(),
Command::new("bash")
.arg("-c")
.arg(&interpolated_snippet[..])
.spawn()?;
.spawn()?
.wait()?;
}
Ok(())