Skip to content

Commit

Permalink
fix(args): unset pager for command output (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
orhun committed Mar 16, 2023
1 parent c5b0b6a commit 0917065
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/helper/args/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ fn check_args<'a, ArgsIter: Iterator<Item = &'a str>, Output: Write>(
command.white().italic()
)?;
let cmd_out = TtyCommand::new(&command)?
.env("PAGER", "")
.stderr(Stdio::inherit())
.output()?;
if cmd_out.status.success() {
Expand Down

0 comments on commit 0917065

Please sign in to comment.