From a0dc4550b1c557f1f71000cf1feee51fcc8dc877 Mon Sep 17 00:00:00 2001 From: Alex Clarke Date: Thu, 3 Sep 2026 22:01:54 -0600 Subject: [PATCH] feat: added a clear line separator for the end of LLM turns to make it more clear where they are --- src/repl/mod.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/repl/mod.rs b/src/repl/mod.rs index 3aa5a05..67f2bb0 100644 --- a/src/repl/mod.rs +++ b/src/repl/mod.rs @@ -1453,6 +1453,7 @@ async fn ask( graph::run_active_agent_graph(ctx, &input.text(), abort_signal.clone()).await?; app.print_markdown(&output)?; ctx.after_chat_completion(app.as_ref(), &input, &output, &[])?; + print_turn_divider(); return Ok(()); } @@ -1628,10 +1629,19 @@ async fn ask( } } + print_turn_divider(); return Ok(()); } } +fn print_turn_divider() { + let width = crossterm::terminal::size() + .map(|(columns, _)| columns as usize) + .unwrap_or(33); + println!("{}", dimmed_text(&"─".repeat(width))); + println!(); +} + fn should_continue(ctx: &RequestContext) -> bool { let config = ctx.auto_continue_config(); ctx.app.config.function_calling_support