mirror of
https://github.com/sharkdp/bat
synced 2026-07-31 18:21:43 +00:00
feat: add quiet_empty config option
This commit is contained in:
@@ -107,6 +107,9 @@ pub struct Config<'a> {
|
||||
|
||||
// Whether or not to strip ANSI escape codes from the input
|
||||
pub strip_ansi: StripAnsiMode,
|
||||
|
||||
/// Whether or not to produce no output when input is empty
|
||||
pub quiet_empty: bool,
|
||||
}
|
||||
|
||||
#[cfg(all(feature = "minimal-application", feature = "paging"))]
|
||||
|
||||
Reference in New Issue
Block a user