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

Add --squeeze/-s option

Co-authored-by: einfachIrgendwer0815 <85333734+einfachIrgendwer0815@users.noreply.github.com>
This commit is contained in:
Ethan P
2020-12-16 18:10:29 -08:00
committed by einfachIrgendwer0815
parent e1a3fc5529
commit c36ed32816
4 changed files with 30 additions and 0 deletions

View File

@@ -97,6 +97,9 @@ pub struct Config<'a> {
// Weather or not to set terminal title when using a pager
pub set_terminal_title: bool,
/// The maximum number of consecutive empty lines to display
pub squeeze_lines: usize,
}
#[cfg(all(feature = "minimal-application", feature = "paging"))]