diff --git a/src/formatter.rs b/src/formatter.rs index 488f8ed..40ec5bf 100644 --- a/src/formatter.rs +++ b/src/formatter.rs @@ -57,7 +57,11 @@ where let mut command = String::new(); while let Some(token) = tokenizer.next_token() { match token { - LineType::Empty => println!(), + LineType::Empty => { + if !config.display.compact { + println!() + } + } LineType::Title(title) => { debug!("Ignoring title");