mirror of
https://github.com/sharkdp/bat.git
synced 2025-09-06 13:22:23 +01:00
Merge branch 'master' into read-from-tail
This commit is contained in:
@@ -5,6 +5,7 @@ use crate::paging::PagingMode;
|
||||
use crate::style::StyleComponents;
|
||||
use crate::syntax_mapping::SyntaxMapping;
|
||||
use crate::wrapping::WrappingMode;
|
||||
use crate::StripAnsiMode;
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
pub enum VisibleLines {
|
||||
@@ -100,6 +101,9 @@ pub struct Config<'a> {
|
||||
|
||||
/// The maximum number of consecutive empty lines to display
|
||||
pub squeeze_lines: Option<usize>,
|
||||
|
||||
// Weather or not to set terminal title when using a pager
|
||||
pub strip_ansi: StripAnsiMode,
|
||||
}
|
||||
|
||||
#[cfg(all(feature = "minimal-application", feature = "paging"))]
|
||||
|
Reference in New Issue
Block a user