From fd58336f8d9777beea5c5663f9e5282f3bae695e Mon Sep 17 00:00:00 2001 From: Zastian Pretorius Date: Mon, 13 Jun 2022 15:28:46 +0100 Subject: [PATCH] removed -p flag from bat --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index c84eca1..5c5ccee 100644 --- a/src/main.rs +++ b/src/main.rs @@ -121,7 +121,7 @@ fn get_full_text(chapter_url: &String)->String{ } pub fn open_bat() -> Result { - Command::new("bat").arg("-p").arg("--paging").arg("always").arg("/tmp/log_e").spawn()?.wait() + Command::new("bat").arg("--paging").arg("always").arg("/tmp/log_e").spawn()?.wait() } //gets the full html of the page