From 626154317fd888230cf1218cb2ba2565c1b3174e Mon Sep 17 00:00:00 2001 From: dddffgg Date: Sat, 31 Jan 2026 16:40:59 +0800 Subject: [PATCH] feat: add quiet_empty config option --- src/config.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/config.rs b/src/config.rs index aa223186..7209c2fd 100644 --- a/src/config.rs +++ b/src/config.rs @@ -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"))]