mirror of
https://github.com/sharkdp/bat.git
synced 2025-01-08 22:59:06 +01:00
Small cleanup
This commit is contained in:
parent
2c7087b8de
commit
e43d97dc15
@ -40,7 +40,7 @@ impl OutputType {
|
|||||||
|
|
||||||
let mut process = if is_less {
|
let mut process = if is_less {
|
||||||
let mut p = Command::new(&pager_path);
|
let mut p = Command::new(&pager_path);
|
||||||
if pagerflags.len() == 1 {
|
if args.is_empty() {
|
||||||
p.args(vec!["--RAW-CONTROL-CHARS", "--no-init"]);
|
p.args(vec!["--RAW-CONTROL-CHARS", "--no-init"]);
|
||||||
if quit_if_one_screen {
|
if quit_if_one_screen {
|
||||||
p.arg("--quit-if-one-screen");
|
p.arg("--quit-if-one-screen");
|
||||||
|
Loading…
Reference in New Issue
Block a user