1
0
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:
Alex
2024-08-10 11:34:45 +02:00
committed by GitHub
34 changed files with 3482 additions and 247 deletions

View File

@@ -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"))]