From 0917065daba3be58c829e2a276c17c31fdde23af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Orhun=20Parmaks=C4=B1z?= Date: Thu, 16 Mar 2023 04:20:33 +0300 Subject: [PATCH] fix(args): unset pager for command output (#9) --- src/helper/args/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/helper/args/mod.rs b/src/helper/args/mod.rs index 19df067..e68dfcd 100644 --- a/src/helper/args/mod.rs +++ b/src/helper/args/mod.rs @@ -36,6 +36,7 @@ fn check_args<'a, ArgsIter: Iterator, Output: Write>( command.white().italic() )?; let cmd_out = TtyCommand::new(&command)? + .env("PAGER", "") .stderr(Stdio::inherit()) .output()?; if cmd_out.status.success() {