1
0
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:
dddffgg
2026-01-31 16:40:59 +08:00
parent 885ae1dc81
commit 626154317f
+3
View File
@@ -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"))]