From b61a0f71080e8e7aa77c8c36c4670235818f4c03 Mon Sep 17 00:00:00 2001 From: Caleb Maclennan Date: Mon, 25 Mar 2024 22:40:14 +0300 Subject: [PATCH] feat(cli): Don't hide intermediate output artifacts in verbose or debug modes --- src/tui.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tui.rs b/src/tui.rs index 4d252528..89acba4c 100644 --- a/src/tui.rs +++ b/src/tui.rs @@ -187,7 +187,8 @@ impl MakeTargetStatus { } pub fn pass(&self) { let target = self.target.clone(); - if target.starts_with(".casile") { + let allow_hide = !CONF.get_bool("debug").unwrap() && !CONF.get_bool("verbose").unwrap(); + if allow_hide && target.starts_with(".casile") { TUI.remove(&self.bar); } else { let msg = style(