From 6f0a61cef962c203031f83f0a3e1275598d5a7f6 Mon Sep 17 00:00:00 2001 From: dddffgg Date: Sat, 31 Jan 2026 16:41:46 +0800 Subject: [PATCH] feat: wire up quiet_empty config in app --- src/bin/bat/app.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/bat/app.rs b/src/bin/bat/app.rs index 1ba3e73d..f5f59ec7 100644 --- a/src/bin/bat/app.rs +++ b/src/bin/bat/app.rs @@ -461,6 +461,7 @@ impl App { Some("auto") => StripAnsiMode::Auto, _ => unreachable!("other values for --strip-ansi are not allowed"), }, + quiet_empty: self.matches.get_flag("quiet-empty"), theme: theme(self.theme_options()).to_string(), visible_lines: match self.matches.try_contains_id("diff").unwrap_or_default() && self.matches.get_flag("diff")