1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-09-06 13:22:23 +01:00

Add --squeeze-limit to specify max number of consecutive empty lines

Co-authored-by: einfachIrgendwer0815 <85333734+einfachIrgendwer0815@users.noreply.github.com>
This commit is contained in:
Ethan P
2020-12-16 18:23:14 -08:00
committed by einfachIrgendwer0815
parent 0c7e5299bf
commit 0e4e10edb6
5 changed files with 18 additions and 7 deletions

View File

@@ -99,7 +99,7 @@ pub struct Config<'a> {
pub set_terminal_title: bool,
/// The maximum number of consecutive empty lines to display
pub squeeze_lines: usize,
pub squeeze_lines: Option<usize>,
}
#[cfg(all(feature = "minimal-application", feature = "paging"))]