diff --git a/src/config/request_context.rs b/src/config/request_context.rs index 0242791..55d0972 100644 --- a/src/config/request_context.rs +++ b/src/config/request_context.rs @@ -885,23 +885,28 @@ impl RequestContext { .map(|tool| tool.chars().count()) .max() .unwrap_or_default(); + let allowed_marker = "✓".green().bold().to_string(); + let hidden_marker = "✗".red().bold().to_string(); for tool in &names { let explained = filter.map(|f| f.allows_explain(tool)); match explained { - None => out.push_str(&format!(" ✓ {tool}\n")), + None => out.push_str(&format!(" {allowed_marker} {tool}\n")), Some(Ok(matches)) => { let chain: Vec = matches .iter() .map(|(source, pattern)| format!("{pattern} ({})", source.short_label())) .collect(); if chain.is_empty() { - out.push_str(&format!(" ✓ {tool}\n")); + out.push_str(&format!(" {allowed_marker} {tool}\n")); } else { - out.push_str(&format!(" ✓ {tool: out.push_str(&format!( - " ✗ {tool: