mirror of
https://github.com/sharkdp/bat.git
synced 2026-10-26 20:16:33 +00:00
feat: add quiet_empty config option
This commit is contained in:
1 parent
885ae1dc81
commit
626154317f
1 file changed
+3
@@ -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