From b9307b7b5d04bce98ee962eae55e01638f325965 Mon Sep 17 00:00:00 2001 From: xeruf <27jf@pm.me> Date: Sat, 9 Nov 2024 19:20:12 +0100 Subject: [PATCH] feat(main): improve prompt symbol --- src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index a5f6640..2fcdeb3 100644 --- a/src/main.rs +++ b/src/main.rs @@ -346,10 +346,11 @@ async fn main() -> Result<()> { println!(); let tasks = relays.get(&selected_relay).unwrap(); let prompt = format!( - "{} {}{}) ", + "{} {}{}{}", selected_relay.as_ref().map_or(LOCAL_RELAY_NAME.to_string(), |url| url.to_string()).dimmed(), tasks.get_task_path(tasks.get_position()).bold(), tasks.get_prompt_suffix().italic(), + "❯ ".dimmed() ); match rl.readline(&prompt) { Ok(input) => {