From 3001df3b1a02db2d87c41b5b78f2dfec8d6936f9 Mon Sep 17 00:00:00 2001 From: "Dhanji R. Prasanna" Date: Thu, 22 Jan 2026 08:15:18 +0530 Subject: [PATCH] style(cli): simplify project prompt format Change from: butler |[finances]> Change to: butler | finances> --- crates/g3-cli/src/interactive.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/g3-cli/src/interactive.rs b/crates/g3-cli/src/interactive.rs index 54029db..2d50c96 100644 --- a/crates/g3-cli/src/interactive.rs +++ b/crates/g3-cli/src/interactive.rs @@ -25,7 +25,7 @@ use crate::utils::display_context_progress; /// Format: /// - Multiline mode: `"... > "` /// - No project: `"agent_name> "` (defaults to "g3") -/// - With project: `"agent_name |[project_name]> "` where `|[project_name]>` is blue +/// - With project: `"agent_name | project_name> "` where `| project_name>` is blue pub fn build_prompt(in_multiline: bool, agent_name: Option<&str>, active_project: &Option) -> String { if in_multiline { "... > ".to_string() @@ -37,7 +37,7 @@ pub fn build_prompt(in_multiline: bool, agent_name: Option<&str>, active_project .and_then(|n| n.to_str()) .unwrap_or("project"); format!( - "{} {}|[{}]>{} ", + "{} {}| {}>{} ", base_name, SetForegroundColor(Color::Blue), project_name,